Example #1
0
 public StdVecfEnumerator(StdVecf collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #2
0
 public StdVecf(StdVecf other) : this(eogmaneoPINVOKE.new_StdVecf__SWIG_1(StdVecf.getCPtr(other)), true)
 {
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public static void whiten(StdVecf src, StdVecf dest, int width, int radius, float strength, int cx, int cy, int chunkSize)
 {
     eogmaneoPINVOKE.whiten__SWIG_1(StdVecf.getCPtr(src), StdVecf.getCPtr(dest), width, radius, strength, cx, cy, chunkSize);
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void AddRange(StdVecf values)
 {
     eogmaneoPINVOKE.StdVecf_AddRange(swigCPtr, StdVecf.getCPtr(values));
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void activate(StdVecf input, ComputeSystem system, float radius, float thresh, int samples)
 {
     eogmaneoPINVOKE.CornerEncoder_activate(swigCPtr, StdVecf.getCPtr(input), ComputeSystem.getCPtr(system), radius, thresh, samples);
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void LineSegmentDetector(StdVecf data, int width, int height, int chunkSize, StdVeci rotationSDR)
 {
     eogmaneoPINVOKE.OpenCVInterop_LineSegmentDetector__SWIG_1(swigCPtr, StdVecf.getCPtr(data), width, height, chunkSize, StdVeci.getCPtr(rotationSDR));
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public void FastFeatureDetector(StdVecf data, int width, int height, int chunkSize, StdVeci featuresSDR, bool drawKeypoints, int threshold)
 {
     eogmaneoPINVOKE.OpenCVInterop_FastFeatureDetector__SWIG_2(swigCPtr, StdVecf.getCPtr(data), width, height, chunkSize, StdVeci.getCPtr(featuresSDR), drawKeypoints, threshold);
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
 public static void sobelCombine(StdVecf srcX, StdVecf srcY, StdVecf dest, int width, float clip, int cx, int cy, int chunkSize)
 {
     eogmaneoPINVOKE.sobelCombine(StdVecf.getCPtr(srcX), StdVecf.getCPtr(srcY), StdVecf.getCPtr(dest), width, clip, cx, cy, chunkSize);
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #9
0
 public static void sobelY(StdVecf src, StdVecf dest, int width, int cx, int cy, int chunkSize)
 {
     eogmaneoPINVOKE.sobelY(StdVecf.getCPtr(src), StdVecf.getCPtr(dest), width, cx, cy, chunkSize);
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #10
0
 public void SetRange(int index, StdVecf values)
 {
     eogmaneoPINVOKE.StdVecf_SetRange(swigCPtr, index, StdVecf.getCPtr(values));
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #11
0
        public static StdVecf whiten(StdVecf src, int width, int radius, float strength, ComputeSystem system, int chunkSize)
        {
            StdVecf ret = new StdVecf(eogmaneoPINVOKE.whiten__SWIG_0(StdVecf.getCPtr(src), width, radius, strength, ComputeSystem.getCPtr(system), chunkSize), true);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #12
0
        public int AdaptiveThreshold(StdVecf data, float maxValue, int adaptiveMethod, int thresholdType, int blockSize, float C)
        {
            int ret = eogmaneoPINVOKE.OpenCVInterop_AdaptiveThreshold(swigCPtr, StdVecf.getCPtr(data), maxValue, adaptiveMethod, thresholdType, blockSize, C);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #13
0
        public int Threshold(StdVecf data, float threshold, float maxValue, int type)
        {
            int ret = eogmaneoPINVOKE.OpenCVInterop_Threshold(swigCPtr, StdVecf.getCPtr(data), threshold, maxValue, type);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #14
0
        public static StdVecf sobel(StdVecf src, int width, float clip, ComputeSystem system, int chunkSize)
        {
            StdVecf ret = new StdVecf(eogmaneoPINVOKE.sobel(StdVecf.getCPtr(src), width, clip, ComputeSystem.getCPtr(system), chunkSize), true);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #15
0
        public int GaborFilter(StdVecf data, int kernelSize, float sigma, float theta, float lambd, float gamma, float psi)
        {
            int ret = eogmaneoPINVOKE.OpenCVInterop_GaborFilter(swigCPtr, StdVecf.getCPtr(data), kernelSize, sigma, theta, lambd, gamma, psi);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #16
0
        public int CannyEdgeDetection(StdVecf data, float threshold1, float threshold2)
        {
            int ret = eogmaneoPINVOKE.OpenCVInterop_CannyEdgeDetection__SWIG_2(swigCPtr, StdVecf.getCPtr(data), threshold1, threshold2);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #17
0
        public StdVecf reconstruct(StdVeci hiddenStates, ComputeSystem system)
        {
            StdVecf ret = new StdVecf(eogmaneoPINVOKE.RandomEncoder_reconstruct(swigCPtr, StdVeci.getCPtr(hiddenStates), ComputeSystem.getCPtr(system)), false);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #18
0
        public StdVeci activate(StdVecf input, ComputeSystem system)
        {
            StdVeci ret = new StdVeci(eogmaneoPINVOKE.RandomEncoder_activate__SWIG_1(swigCPtr, StdVecf.getCPtr(input), ComputeSystem.getCPtr(system)), false);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #19
0
        public static StdVecf Repeat(float value, int count)
        {
            global::System.IntPtr cPtr = eogmaneoPINVOKE.StdVecf_Repeat(value, count);
            StdVecf ret = (cPtr == global::System.IntPtr.Zero) ? null : new StdVecf(cPtr, true);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #20
0
        public StdVecf GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = eogmaneoPINVOKE.StdVecf_GetRange(swigCPtr, index, count);
            StdVecf ret = (cPtr == global::System.IntPtr.Zero) ? null : new StdVecf(cPtr, true);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #21
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StdVecf obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #22
0
        public StdVecf getFeedBackWeights(int v, int f, int x, int y)
        {
            StdVecf ret = new StdVecf(eogmaneoPINVOKE.Layer_getFeedBackWeights(swigCPtr, v, f, x, y), true);

            return(ret);
        }
Example #23
0
        public StdVecf getFeedForwardWeights(int v, int x, int y)
        {
            StdVecf ret = new StdVecf(eogmaneoPINVOKE.Layer_getFeedForwardWeights(swigCPtr, v, x, y), false);

            return(ret);
        }