コード例 #1
0
 internal static HandleRef getCPtr(HeightWidth obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #2
0
 public static HeightWidth RotateFullHW(Image src, double phi, XYCoord trans) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.RotateFullHW(Image.getCPtr(src), phi, XYCoord.getCPtr(trans)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #3
0
 public override void Resize(HeightWidth hw) {
   VisionLabPINVOKE.__NumHSV161616Image_Resize__SWIG_0(swigCPtr, HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #4
0
 public static bool CheckHeightWidth(Image image, HeightWidth hw) {
   bool ret = VisionLabPINVOKE.CheckHeightWidth__SWIG_2(Image.getCPtr(image), HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #5
0
 public static HeightWidth ExtendBorderHW(Image src, MaskBase mask) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.ExtendBorderHW__SWIG_1(Image.getCPtr(src), MaskBase.getCPtr(mask)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #6
0
 public static void Zoom(YUV161616Image src, YUV161616Image dest, HeightWidth hw) {
   VisionLabPINVOKE.Zoom__SWIG_49(YUV161616Image.getCPtr(src), YUV161616Image.getCPtr(dest), HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
0
 public static void Zoom(ComplexDoubleImage src, ComplexDoubleImage dest, HeightWidth hw, PixelInterpolation pi) {
   VisionLabPINVOKE.Zoom__SWIG_59(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), HeightWidth.getCPtr(hw), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HeightWidth obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #9
0
 public override void Resize(HeightWidth hw) {
   VisionLabPINVOKE.__NumByteImage_Resize__SWIG_0(swigCPtr, HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #10
0
 public virtual void Resize(HeightWidth hw, __OrdInt8Pixel properties) {
   VisionLabPINVOKE.__OrdInt8Pixel_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), __OrdInt8Pixel.getCPtr(properties));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #11
0
 public NumComplexDoubleImage(HeightWidth hw) : this(VisionLabPINVOKE.new_NumComplexDoubleImage__SWIG_2(HeightWidth.getCPtr(hw)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
 public __OrdInt8Pixel(HeightWidth hw) : this(VisionLabPINVOKE.new___OrdInt8Pixel__SWIG_2(HeightWidth.getCPtr(hw)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #13
0
 public __NumInt8Pixel(HeightWidth hw) : this(VisionLabPINVOKE.new___NumInt8Pixel__SWIG_2(HeightWidth.getCPtr(hw)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #14
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();
 }
コード例 #15
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();
 }
コード例 #16
0
 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();
 }
コード例 #17
0
 public static void ROI(ComplexDoubleImage src, ComplexDoubleImage dest, XYCoord topLeft, HeightWidth hw) {
   VisionLabPINVOKE.ROI__SWIG_14(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), XYCoord.getCPtr(topLeft), HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #18
0
 public ComplexFloatImage(HeightWidth hw) : this(VisionLabPINVOKE.new_ComplexFloatImage__SWIG_2(HeightWidth.getCPtr(hw)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #19
0
 public static void Zoom(ComplexFloatImage src, ComplexFloatImage dest, HeightWidth hw) {
   VisionLabPINVOKE.Zoom__SWIG_53(ComplexFloatImage.getCPtr(src), ComplexFloatImage.getCPtr(dest), HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #20
0
 public __OrdFloatImage(HeightWidth hw) : this(VisionLabPINVOKE.new___OrdFloatImage__SWIG_2(HeightWidth.getCPtr(hw)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #21
0
 public static Image CreateNewImage(string typeName, HeightWidth wh) {
   IntPtr cPtr = VisionLabPINVOKE.CreateNewImage__SWIG_3(typeName, HeightWidth.getCPtr(wh));
   Image ret = (cPtr == IntPtr.Zero) ? null : new Image(cPtr, false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #22
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();
     }
 }
コード例 #23
0
 public static HeightWidth ExtendBorderHW(Image src, int top, int left, int right, int bottom) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.ExtendBorderHW__SWIG_0(Image.getCPtr(src), top, left, right, bottom), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #24
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();
     }
 }
コード例 #25
0
 public static HeightWidth Reduce2HW(Image src) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.Reduce2HW(Image.getCPtr(src)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #26
0
 public virtual void Resize(HeightWidth hw) {
   VisionLabPINVOKE.Image_Resize(swigCPtr, HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #27
0
 public __NumHSV161616Image(HeightWidth hw) : this(VisionLabPINVOKE.new___NumHSV161616Image__SWIG_2(HeightWidth.getCPtr(hw)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #28
0
 public HeightWidth GetHeightWidth() {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.Image_GetHeightWidth(swigCPtr), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #29
0
 public virtual void Resize(HeightWidth hw, __NumHSV161616Image properties) {
   VisionLabPINVOKE.__NumHSV161616Image_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), __NumHSV161616Image.getCPtr(properties));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #30
0
 public static HeightWidth VarianceFilterHW(Image src, FixEdge edge, MaskBase mask) {
   HeightWidth ret = new HeightWidth(VisionLabPINVOKE.VarianceFilterHW(Image.getCPtr(src), (int)edge, MaskBase.getCPtr(mask)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #31
0
 public bool Not(HeightWidth hw) {
   bool ret = VisionLabPINVOKE.HeightWidth_Not(swigCPtr, HeightWidth.getCPtr(hw));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #32
0
 internal static HandleRef getCPtr(HeightWidth obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }