Example #1
0
 public void AddRange(vector_ClassOutput values)
 {
     VisionLabPINVOKE.vector_ClassOutput_AddRange(swigCPtr, vector_ClassOutput.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void InsertRange(int index, vector_ClassOutput values)
 {
     VisionLabPINVOKE.vector_ClassOutput_InsertRange(swigCPtr, index, vector_ClassOutput.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public double ClassifyOutputTab(RGB161616Image image, vector_ClassOutput outputTab)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_RGB16_ClassifyOutputTab(swigCPtr, RGB161616Image.getCPtr(image), vector_ClassOutput.getCPtr(outputTab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public double ClassifyOutputTab(vector_double input, vector_ClassOutput outputTab)
    {
        double ret = VisionLabPINVOKE.BPN_Classifier_ClassifyOutputTab(swigCPtr, vector_double.getCPtr(input), vector_ClassOutput.getCPtr(outputTab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public static vector_ClassOutput Repeat(ClassOutput value, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_ClassOutput_Repeat(ClassOutput.getCPtr(value), count);
        vector_ClassOutput ret  = (cPtr == IntPtr.Zero) ? null : new vector_ClassOutput(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #6
0
    public vector_ClassOutput GetRange(int index, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_ClassOutput_GetRange(swigCPtr, index, count);
        vector_ClassOutput ret  = (cPtr == IntPtr.Zero) ? null : new vector_ClassOutput(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public double ClassifyOutputTab(DoubleImage image, vector_ClassOutput outputTab) {
   double ret = VisionLabPINVOKE.BPN_ImageClassifier_Double_ClassifyOutputTab(swigCPtr, DoubleImage.getCPtr(image), vector_ClassOutput.getCPtr(outputTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #8
0
 internal static HandleRef getCPtr(vector_ClassOutput obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_ClassOutput obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public double ClassifyOutputTab(vector_double input, vector_ClassOutput outputTab) {
   double ret = VisionLabPINVOKE.BPN_Classifier_ClassifyOutputTab(swigCPtr, vector_double.getCPtr(input), vector_ClassOutput.getCPtr(outputTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }