Ejemplo n.º 1
0
 public override void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 VisionLabPINVOKE.delete_BPN_ImageClassifier_Byte(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
         base.Dispose();
     }
 }
Ejemplo n.º 2
0
 public override void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 VisionLabPINVOKE.delete_YUV161616Image(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
         base.Dispose();
     }
 }
Ejemplo n.º 3
0
 public override void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 VisionLabPINVOKE.delete___NumInt8Pixel(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
         base.Dispose();
     }
 }
Ejemplo n.º 4
0
    public SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t GetFeatureNameTab()
    {
        SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t ret = new SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t(VisionLabPINVOKE.ClassFeatureSet_YUV16_GetFeatureNameTab(swigCPtr), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 5
0
 public Mask_HSV8(int height, int width, int orgX, int orgY, HSV888Pixel v) : this(VisionLabPINVOKE.new_Mask_HSV8__SWIG_4(height, width, orgX, orgY, HSV888Pixel.getCPtr(v)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public CamInstallCmd(SWIGTYPE_p_f_r_std__istream_r_std__ostream__p_JL_VisionLib_V3__CameraBase proc) : this(VisionLabPINVOKE.new_CamInstallCmd__SWIG_0(SWIGTYPE_p_f_r_std__istream_r_std__ostream__p_JL_VisionLib_V3__CameraBase.getCPtr(proc)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public BPN_ImageOptimizer_HSV8(int populationSize, int nrEpochs, double lowConfidence, ClassImageSet_HSV8 trainCIS, ClassImageSet_HSV8 evalCIS, int hidden1Low, int hidden1High, int hidden2Low, int hidden2High, double learnRateLow, double learnRateHigh, double momentumLow, double momentumHigh) : this(VisionLabPINVOKE.new_BPN_ImageOptimizer_HSV8(populationSize, nrEpochs, lowConfidence, ClassImageSet_HSV8.getCPtr(trainCIS), ClassImageSet_HSV8.getCPtr(evalCIS), hidden1Low, hidden1High, hidden2Low, hidden2High, learnRateLow, learnRateHigh, momentumLow, momentumHigh), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal BPN_ImageClassifier_RGB16(IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.BPN_ImageClassifier_RGB16_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new HandleRef(this, cPtr);
 }
    public SWIGTYPE_p_std__mapT_std__string_int_t GetClassTab()
    {
        SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.ClassImageSet_HSV16_GetClassTab(swigCPtr), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public override void ReadBinFromStream(SWIGTYPE_p_std__istream arg0) {
   VisionLabPINVOKE.__NumByteImage_ReadBinFromStream(swigCPtr, SWIGTYPE_p_std__istream.getCPtr(arg0));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual void Resize(HeightWidth hw, __NumByteImage properties) {
   VisionLabPINVOKE.__NumByteImage_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), __NumByteImage.getCPtr(properties));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public override void Resize(HeightWidth hw) {
   VisionLabPINVOKE.__NumByteImage_Resize__SWIG_0(swigCPtr, HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public override void SetBuf(string buf, int height, int width) {
   VisionLabPINVOKE.__NumByteImage_SetBuf__SWIG_1(swigCPtr, buf, height, width);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public override void Clear() {
   VisionLabPINVOKE.__NumByteImage_Clear(swigCPtr);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public __NumByteImage(__NumByteImage image) : this(VisionLabPINVOKE.new___NumByteImage__SWIG_3(__NumByteImage.getCPtr(image)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 16
0
 public vector_vector_ComplexDoubleImage(vector_vector_ComplexDoubleImage other) : this(VisionLabPINVOKE.new_vector_vector_ComplexDoubleImage__SWIG_1(vector_vector_ComplexDoubleImage.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 17
0
 internal CmdIntCommand(global::System.IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.CmdIntCommand_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
 public override void WriteBinToStream(SWIGTYPE_p_std__ostream os) {
   VisionLabPINVOKE.__NumByteImage_WriteBinToStream(swigCPtr, SWIGTYPE_p_std__ostream.getCPtr(os));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 19
0
 internal BPN_ImageClassifier_RGB16(global::System.IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.BPN_ImageClassifier_RGB16_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Ejemplo n.º 20
0
 public CamCalibGA(HeightWidth hw, vector_CamCalLowHigh tab, vector_Coord2D pixelTab, vector_Coord3D worldTab, double mutationP, double deltaP, int populationSize, int trace, string traceFileName) : this(VisionLabPINVOKE.new_CamCalibGA__SWIG_0(HeightWidth.getCPtr(hw), vector_CamCalLowHigh.getCPtr(tab), vector_Coord2D.getCPtr(pixelTab), vector_Coord3D.getCPtr(worldTab), mutationP, deltaP, populationSize, trace, traceFileName), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public BPN_ImageClassifier_RGB16(int nrPixels, int nrHiddens1, int nrHiddens2, int nrClasses, BiasNodes bias, double minInput, double maxInput) : this(VisionLabPINVOKE.new_BPN_ImageClassifier_RGB16__SWIG_1(nrPixels, nrHiddens1, nrHiddens2, nrClasses, (int)bias, minInput, maxInput), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 22
0
 public CamCalibGA(HeightWidth hw, vector_CamCalLowHigh tab, vector_Coord2D pixelTab, vector_Coord3D worldTab, double mutationP, double deltaP) : this(VisionLabPINVOKE.new_CamCalibGA__SWIG_3(HeightWidth.getCPtr(hw), vector_CamCalLowHigh.getCPtr(tab), vector_Coord2D.getCPtr(pixelTab), vector_Coord3D.getCPtr(worldTab), mutationP, deltaP), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public BPN_FeatureOptimizer_YUV16(int populationSize, int nrEpochs, double lowConfidence, ClassFeatureSet_YUV16 trainCFS, ClassFeatureSet_YUV16 evalCFS, int hidden1Low, int hidden1High, int hidden2Low, int hidden2High, double learnRateLow, double learnRateHigh, double momentumLow, double momentumHigh, vector_bool selectTab) : this(VisionLabPINVOKE.new_BPN_FeatureOptimizer_YUV16(populationSize, nrEpochs, lowConfidence, ClassFeatureSet_YUV16.getCPtr(trainCFS), ClassFeatureSet_YUV16.getCPtr(evalCFS), hidden1Low, hidden1High, hidden2Low, hidden2High, learnRateLow, learnRateHigh, momentumLow, momentumHigh, vector_bool.getCPtr(selectTab)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public virtual SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__Image_p_t SnapShotROIs()
    {
        SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__Image_p_t ret = new SWIGTYPE_p_std__vectorT_JL_VisionLib_V3__Image_p_t(VisionLabPINVOKE.CameraBase_SnapShotROIs(swigCPtr), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 25
0
 internal Mask_HSV8(IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.Mask_HSV8_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new HandleRef(this, cPtr);
 }
Ejemplo n.º 26
0
    public SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t GetPatternNamesTab()
    {
        SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t ret = new SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t(VisionLabPINVOKE.PatternMatcher_Int16_GetPatternNamesTab(swigCPtr), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public CmdIntCommand(SWIGTYPE_p_f_r_std__istream_r_std__ostream_r_JL_VisionLib_V3__VisLibCmdInt__void proc, VisLibCmdInt cInt) : this(VisionLabPINVOKE.new_CmdIntCommand(SWIGTYPE_p_f_r_std__istream_r_std__ostream_r_JL_VisionLib_V3__VisLibCmdInt__void.getCPtr(proc), VisLibCmdInt.getCPtr(cInt)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal ComplexDoubleImage(IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.ComplexDoubleImage_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new HandleRef(this, cPtr);
 }
 internal __OrdInt32Image(IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.__OrdInt32Image_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new HandleRef(this, cPtr);
 }
 internal __OrdInt16Image(global::System.IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.__OrdInt16Image_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }