コード例 #1
0
 public ComplexDoubleImage(ComplexDoubleImage image) : this(VisionLabPINVOKE.new_ComplexDoubleImage__SWIG_3(ComplexDoubleImage.getCPtr(image)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
    public bool GetImage(string imageName, ComplexDoubleImage image)
    {
        bool ret = VisionLabPINVOKE.VisLibCmdInt_GetImage__SWIG_14(swigCPtr, imageName, ComplexDoubleImage.getCPtr(image));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
 public static void BlockPattern(ComplexDoubleImage image, XYCoord leftTop, int height, int width, SWIGTYPE_p_std__complexT_double_t value, int repeatx, int repeaty) {
   VisionLabPINVOKE.BlockPattern__SWIG_29(ComplexDoubleImage.getCPtr(image), XYCoord.getCPtr(leftTop), height, width, SWIGTYPE_p_std__complexT_double_t.getCPtr(value), repeatx, repeaty);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #4
0
 public static void FastFourierT(ComplexDoubleImage image, TransformDirection dir) {
   VisionLabPINVOKE.FastFourierT__SWIG_2(ComplexDoubleImage.getCPtr(image), (int)dir);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #5
0
 public static void ComplexImageFromRectangular(DoubleImage real, DoubleImage imag, ComplexDoubleImage dest) {
   VisionLabPINVOKE.ComplexImageFromRectangular__SWIG_12(DoubleImage.getCPtr(real), DoubleImage.getCPtr(imag), ComplexDoubleImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #6
0
 public static void ConvertComplexToOrdImage(ComplexDoubleImage src, DoubleImage dest, ConvComplex kind) {
   VisionLabPINVOKE.ConvertComplexToOrdImage__SWIG_12(ComplexDoubleImage.getCPtr(src), DoubleImage.getCPtr(dest), (int)kind);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
0
 public static void VectorDistanceT(Int32Image src, ComplexDoubleImage dest) {
   VisionLabPINVOKE.VectorDistanceT__SWIG_8(Int32Image.getCPtr(src), ComplexDoubleImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #8
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();
 }
コード例 #9
0
 public static int XYCoordTabFromImage(ComplexDoubleImage image, vector_XYCoord tab, SWIGTYPE_p_std__complexT_double_t low, SWIGTYPE_p_std__complexT_double_t high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_29(ComplexDoubleImage.getCPtr(image), vector_XYCoord.getCPtr(tab), SWIGTYPE_p_std__complexT_double_t.getCPtr(low), SWIGTYPE_p_std__complexT_double_t.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #10
0
 public static int PixelPtrTabFromImage(ComplexDoubleImage image, SWIGTYPE_p_std__vectorT_std__complexT_double_t_p_t tab, SWIGTYPE_p_std__complexT_double_t pixel) {
   int ret = VisionLabPINVOKE.PixelPtrTabFromImage__SWIG_28(ComplexDoubleImage.getCPtr(image), SWIGTYPE_p_std__vectorT_std__complexT_double_t_p_t.getCPtr(tab), SWIGTYPE_p_std__complexT_double_t.getCPtr(pixel));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #11
0
 public static void OpticalCorrection(ComplexDoubleImage src, ComplexDoubleImage dest, double k1, double k2, double k3, SWIGTYPE_p_std__complexT_double_t borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.OpticalCorrection__SWIG_29(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), k1, k2, k3, SWIGTYPE_p_std__complexT_double_t.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #12
0
 public static void Mirror(ComplexDoubleImage image, MirrorOperation op) {
   VisionLabPINVOKE.Mirror__SWIG_14(ComplexDoubleImage.getCPtr(image), (int)op);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #13
0
 public static void MapAxis(ComplexDoubleImage inputImage, ComplexDoubleImage outputImage, AxisMapping axisMapping) {
   VisionLabPINVOKE.MapAxis__SWIG_29(ComplexDoubleImage.getCPtr(inputImage), ComplexDoubleImage.getCPtr(outputImage), (int)axisMapping);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #14
0
 public static void MapAxis(ComplexDoubleImage inputImage, ComplexDoubleImage outputImage, AxisType xAxis, AxisType yAxis) {
   VisionLabPINVOKE.MapAxis__SWIG_28(ComplexDoubleImage.getCPtr(inputImage), ComplexDoubleImage.getCPtr(outputImage), (int)xAxis, (int)yAxis);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #15
0
 internal static HandleRef getCPtr(ComplexDoubleImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #16
0
 public static int CountPixel(ComplexDoubleImage image, SWIGTYPE_p_std__complexT_double_t value) {
   int ret = VisionLabPINVOKE.CountPixel__SWIG_14(ComplexDoubleImage.getCPtr(image), SWIGTYPE_p_std__complexT_double_t.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #17
0
 public static void Resample(ComplexDoubleImage image, int rate) {
   VisionLabPINVOKE.Resample__SWIG_14(ComplexDoubleImage.getCPtr(image), rate);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #18
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();
 }
コード例 #19
0
 public static void Zoom(ComplexDoubleImage src, ComplexDoubleImage dest, double factorX, double factorY, PixelInterpolation pi) {
   VisionLabPINVOKE.Zoom__SWIG_58(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), factorX, factorY, (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #20
0
 public static void ROIR(ComplexDoubleImage src, ComplexDoubleImage dest, XYCoord middle, XYCoord endpoint1, XYCoord endpoint2, Orientation orien, PixelInterpolation pi) {
   VisionLabPINVOKE.ROIR__SWIG_59(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), XYCoord.getCPtr(middle), XYCoord.getCPtr(endpoint1), XYCoord.getCPtr(endpoint2), (int)orien, (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #21
0
 public static void TextOnImage(ComplexDoubleImage image, int left, int top, string font, string text) {
   VisionLabPINVOKE.TextOnImage__SWIG_14(ComplexDoubleImage.getCPtr(image), left, top, font, text);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #22
0
 public static void Rotate(ComplexDoubleImage src, ComplexDoubleImage dest, XYCoord centre, double phi, SWIGTYPE_p_std__complexT_double_t borderValue, PixelInterpolation pi) {
   VisionLabPINVOKE.Rotate__SWIG_29(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), XYCoord.getCPtr(centre), phi, SWIGTYPE_p_std__complexT_double_t.getCPtr(borderValue), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #23
0
 public static void ConvertOrdToComplexImage(DoubleImage src, ComplexDoubleImage dest) {
   VisionLabPINVOKE.ConvertOrdToComplexImage__SWIG_12(DoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #24
0
 public static XYCoord RotateFull(ComplexDoubleImage src, ComplexDoubleImage dest, double phi, SWIGTYPE_p_std__complexT_double_t borderValue, PixelInterpolation pi) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.RotateFull__SWIG_29(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), phi, SWIGTYPE_p_std__complexT_double_t.getCPtr(borderValue), (int)pi), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #25
0
 public static void ComplexImageFromPolar(DoubleImage mag, DoubleImage phase, ComplexDoubleImage dest) {
   VisionLabPINVOKE.ComplexImageFromPolar__SWIG_12(DoubleImage.getCPtr(mag), DoubleImage.getCPtr(phase), ComplexDoubleImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #26
0
 public static void SetBorders(ComplexDoubleImage image, SWIGTYPE_p_std__complexT_double_t value) {
   VisionLabPINVOKE.SetBorders__SWIG_29(ComplexDoubleImage.getCPtr(image), SWIGTYPE_p_std__complexT_double_t.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #27
0
 public static void Conjugate(ComplexDoubleImage image) {
   VisionLabPINVOKE.Conjugate__SWIG_2(ComplexDoubleImage.getCPtr(image));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #28
0
 public static void SwapQuadrants(ComplexDoubleImage src, ComplexDoubleImage dest) {
   VisionLabPINVOKE.SwapQuadrants__SWIG_14(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #29
0
 public static void AddBorder(ComplexDoubleImage src, ComplexDoubleImage dest, int top, int left, int right, int bottom, SWIGTYPE_p_std__complexT_double_t value) {
   VisionLabPINVOKE.AddBorder__SWIG_14(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), top, left, right, bottom, SWIGTYPE_p_std__complexT_double_t.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #30
0
 public static void TranslateCyclic(ComplexDoubleImage src, ComplexDoubleImage dest, XYCoord vector) {
   VisionLabPINVOKE.TranslateCyclic__SWIG_14(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), XYCoord.getCPtr(vector));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #31
0
 public static void CircleShape(ComplexDoubleImage image, XYCoord centre, int r, SWIGTYPE_p_std__complexT_double_t value) {
   VisionLabPINVOKE.CircleShape__SWIG_29(ComplexDoubleImage.getCPtr(image), XYCoord.getCPtr(centre), r, SWIGTYPE_p_std__complexT_double_t.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #32
0
 public static void Warp(ComplexDoubleImage src, ComplexDoubleImage dest, TransformDirection dir, Coord2D leftTop, Coord2D rightTop, Coord2D leftBottom, Coord2D rightBottom, int height, int width, SWIGTYPE_p_std__complexT_double_t border, PixelInterpolation pi) {
   VisionLabPINVOKE.Warp__SWIG_29(ComplexDoubleImage.getCPtr(src), ComplexDoubleImage.getCPtr(dest), (int)dir, Coord2D.getCPtr(leftTop), Coord2D.getCPtr(rightTop), Coord2D.getCPtr(leftBottom), Coord2D.getCPtr(rightBottom), height, width, SWIGTYPE_p_std__complexT_double_t.getCPtr(border), (int)pi);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #33
0
 public static void DeInterlace(ComplexDoubleImage image) {
   VisionLabPINVOKE.DeInterlace__SWIG_14(ComplexDoubleImage.getCPtr(image));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #34
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ComplexDoubleImage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }