Example #1
0
 public BlobDownCompare(BlobAnalyse b) : this(VisionLabPINVOKE.new_BlobDownCompare__SWIG_1((int)b), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public BlobUpCompare(BlobAnalyse b, UseXOrY xy) : this(VisionLabPINVOKE.new_BlobUpCompare__SWIG_0((int)b, (int)xy), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void BlobAnalysis(Int16Image labelledImage, SWIGTYPE_p_std__setT_JL_VisionLib_V3__BlobAnalyse_t s, int maxLabelNr, vector_Blob blobs, SortOrder so, BlobAnalyse sortBA, UseXOrY xy) {
   VisionLabPINVOKE.BlobAnalysis__SWIG_16(Int16Image.getCPtr(labelledImage), SWIGTYPE_p_std__setT_JL_VisionLib_V3__BlobAnalyse_t.getCPtr(s), maxLabelNr, vector_Blob.getCPtr(blobs), (int)so, (int)sortBA, (int)xy);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public BlobUpCompare(BlobAnalyse b) : this(VisionLabPINVOKE.new_BlobUpCompare__SWIG_1((int)b), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void GrayScaleBlobMeasure(Int32Image labelledImage, Int32Image grayImage, BlobAnalyse meas, int scale, UseXOrY xy, BlobAnalyseModifier baMod) {
   VisionLabPINVOKE.GrayScaleBlobMeasure__SWIG_16(Int32Image.getCPtr(labelledImage), Int32Image.getCPtr(grayImage), (int)meas, scale, (int)xy, BlobAnalyseModifier.getCPtr(baMod));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void GrayScaleBlobMeasure(ByteImage labelledImage, ByteImage grayImage, BlobAnalyse meas, byte scale) {
   VisionLabPINVOKE.GrayScaleBlobMeasure__SWIG_6(ByteImage.getCPtr(labelledImage), ByteImage.getCPtr(grayImage), (int)meas, scale);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void BlobMeasure(Int16Image labelledImage, BlobAnalyse meas, short scale, UseXOrY xy, BlobAnalyseModifier baMod) {
   VisionLabPINVOKE.BlobMeasure__SWIG_24(Int16Image.getCPtr(labelledImage), (int)meas, scale, (int)xy, BlobAnalyseModifier.getCPtr(baMod));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void BlobMeasure(ByteImage labelledImage, BlobAnalyse meas) {
   VisionLabPINVOKE.BlobMeasure__SWIG_13(ByteImage.getCPtr(labelledImage), (int)meas);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static int FindSpecificGrayScaleHoles(Int32Image image, Int32Image grayImage, Connected connected, BlobAnalyse ba, double low, double high) {
   int ret = VisionLabPINVOKE.FindSpecificGrayScaleHoles__SWIG_14(Int32Image.getCPtr(image), Int32Image.getCPtr(grayImage), (int)connected, (int)ba, low, high);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static int FindSpecificGrayScaleHoles(ByteImage image, ByteImage grayImage, Connected connected, BlobAnalyse ba, double low, double high, UseXOrY xy, BlobAnalyseModifier baMod) {
   int ret = VisionLabPINVOKE.FindSpecificGrayScaleHoles__SWIG_3(ByteImage.getCPtr(image), ByteImage.getCPtr(grayImage), (int)connected, (int)ba, low, high, (int)xy, BlobAnalyseModifier.getCPtr(baMod));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static int FindSpecificHoles(Int16Image image, Connected connected, BlobAnalyse ba, double low, double high, UseXOrY xy) {
   int ret = VisionLabPINVOKE.FindSpecificHoles__SWIG_10(Int16Image.getCPtr(image), (int)connected, (int)ba, low, high, (int)xy);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static int FillSpecificHoles(ByteImage image, Connected connected, BlobAnalyse ba, double low, double high) {
   int ret = VisionLabPINVOKE.FillSpecificHoles__SWIG_5(ByteImage.getCPtr(image), (int)connected, (int)ba, low, high);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string BlobAnalyseToStr(BlobAnalyse b) {
   string ret = VisionLabPINVOKE.BlobAnalyseToStr((int)b);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static int BlobFieldToInt(Blob b, BlobAnalyse ba) {
   int ret = VisionLabPINVOKE.BlobFieldToInt__SWIG_2(Blob.getCPtr(b), (int)ba);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static double BlobFieldToDouble(Blob b, BlobAnalyse ba) {
   double ret = VisionLabPINVOKE.BlobFieldToDouble__SWIG_1(Blob.getCPtr(b), (int)ba);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void GrayScaleBlobAnalysis(ByteImage labelledImage, ByteImage grayImage, SWIGTYPE_p_std__setT_JL_VisionLib_V3__BlobAnalyse_t s, int maxLabelNr, vector_Blob blobs, SortOrder so, BlobAnalyse sortBA, UseXOrY xy, BlobAnalyseModifier baMod) {
   VisionLabPINVOKE.GrayScaleBlobAnalysis__SWIG_5(ByteImage.getCPtr(labelledImage), ByteImage.getCPtr(grayImage), SWIGTYPE_p_std__setT_JL_VisionLib_V3__BlobAnalyse_t.getCPtr(s), maxLabelNr, vector_Blob.getCPtr(blobs), (int)so, (int)sortBA, (int)xy, BlobAnalyseModifier.getCPtr(baMod));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void GrayScaleBlobAnalysis(Int32Image labelledImage, Int32Image grayImage, SWIGTYPE_p_std__setT_JL_VisionLib_V3__BlobAnalyse_t s, int maxLabelNr, vector_Blob blobs, SortOrder so, BlobAnalyse sortBA) {
   VisionLabPINVOKE.GrayScaleBlobAnalysis__SWIG_22(Int32Image.getCPtr(labelledImage), Int32Image.getCPtr(grayImage), SWIGTYPE_p_std__setT_JL_VisionLib_V3__BlobAnalyse_t.getCPtr(s), maxLabelNr, vector_Blob.getCPtr(blobs), (int)so, (int)sortBA);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static int RemoveBlobs(Int16Image image, Connected connected, BlobAnalyse ba, double low, double high) {
   int ret = VisionLabPINVOKE.RemoveBlobs__SWIG_11(Int16Image.getCPtr(image), (int)connected, (int)ba, low, high);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void BlobMeasure(Int8Image labelledImage, BlobAnalyse meas, char scale, UseXOrY xy) {
   VisionLabPINVOKE.BlobMeasure__SWIG_18(Int8Image.getCPtr(labelledImage), (int)meas, scale, (int)xy);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static int RemoveBlobs(Int32Image image, Connected connected, BlobAnalyse ba, double low, double high, UseXOrY xy, BlobAnalyseModifier baMod) {
   int ret = VisionLabPINVOKE.RemoveBlobs__SWIG_12(Int32Image.getCPtr(image), (int)connected, (int)ba, low, high, (int)xy, BlobAnalyseModifier.getCPtr(baMod));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void BlobMeasure(Int32Image labelledImage, BlobAnalyse meas, int scale) {
   VisionLabPINVOKE.BlobMeasure__SWIG_33(Int32Image.getCPtr(labelledImage), (int)meas, scale);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static int RemoveGrayScaleBlobs(Int32Image image, Int32Image grayImage, Connected connected, BlobAnalyse ba, double low, double high, UseXOrY xy) {
   int ret = VisionLabPINVOKE.RemoveGrayScaleBlobs__SWIG_13(Int32Image.getCPtr(image), Int32Image.getCPtr(grayImage), (int)connected, (int)ba, low, high, (int)xy);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void GrayScaleBlobMeasure(Int16Image labelledImage, Int16Image grayImage, BlobAnalyse meas, short scale, UseXOrY xy) {
   VisionLabPINVOKE.GrayScaleBlobMeasure__SWIG_13(Int16Image.getCPtr(labelledImage), Int16Image.getCPtr(grayImage), (int)meas, scale, (int)xy);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static int RemoveLabels(Int32Image image, BlobAnalyse ba, double low, double high, UseXOrY xy) {
   int ret = VisionLabPINVOKE.RemoveLabels__SWIG_13(Int32Image.getCPtr(image), (int)ba, low, high, (int)xy);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void GrayScaleBlobMeasure(Int32Image labelledImage, Int32Image grayImage, BlobAnalyse meas) {
   VisionLabPINVOKE.GrayScaleBlobMeasure__SWIG_19(Int32Image.getCPtr(labelledImage), Int32Image.getCPtr(grayImage), (int)meas);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static int RemoveGrayScaleLabels(Int16Image image, Int16Image grayImage, BlobAnalyse ba, double low, double high, UseXOrY xy, BlobAnalyseModifier baMod) {
   int ret = VisionLabPINVOKE.RemoveGrayScaleLabels__SWIG_9(Int16Image.getCPtr(image), Int16Image.getCPtr(grayImage), (int)ba, low, high, (int)xy, BlobAnalyseModifier.getCPtr(baMod));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static int RemoveGrayScaleLabels(Int32Image image, Int32Image grayImage, BlobAnalyse ba, double low, double high) {
   int ret = VisionLabPINVOKE.RemoveGrayScaleLabels__SWIG_14(Int32Image.getCPtr(image), Int32Image.getCPtr(grayImage), (int)ba, low, high);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public BlobDownCompare(BlobAnalyse b, UseXOrY xy) : this(VisionLabPINVOKE.new_BlobDownCompare__SWIG_0((int)b, (int)xy), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }