Example #1
0
 public void SetMinMaxTab(vector_MinMaxInput minMaxTab)
 {
     VisionLabPINVOKE.ClassFeatureSet_YUV8_SetMinMaxTab(swigCPtr, vector_MinMaxInput.getCPtr(minMaxTab));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public vector_MinMaxInput GetSelectedMinMaxTab()
    {
        vector_MinMaxInput ret = new vector_MinMaxInput(VisionLabPINVOKE.ClassFeatureSet_YUV16_GetSelectedMinMaxTab(swigCPtr), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public static vector_MinMaxInput Repeat(MinMaxInput value, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_MinMaxInput_Repeat(MinMaxInput.getCPtr(value), count);
        vector_MinMaxInput    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_MinMaxInput(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_MinMaxInput GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_MinMaxInput_GetRange(swigCPtr, index, count);
        vector_MinMaxInput    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_MinMaxInput(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_MinMaxInput StrToMinMaxInputTab(string str) {
   vector_MinMaxInput ret = new vector_MinMaxInput(VisionLabPINVOKE.StrToMinMaxInputTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string MinMaxInputTabToStr(vector_MinMaxInput tab) {
   string ret = VisionLabPINVOKE.MinMaxInputTabToStr(vector_MinMaxInput.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_MinMaxInput obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public void SetMinMaxTab(vector_MinMaxInput minMaxTab) {
   VisionLabPINVOKE.ClassFeatureSet_Float_SetMinMaxTab(swigCPtr, vector_MinMaxInput.getCPtr(minMaxTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public vector_MinMaxInput GetSelectedMinMaxTab() {
   vector_MinMaxInput ret = new vector_MinMaxInput(VisionLabPINVOKE.ClassFeatureSet_Float_GetSelectedMinMaxTab(swigCPtr), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public vector_MinMaxInput GetMinMaxTab() {
   vector_MinMaxInput ret = new vector_MinMaxInput(VisionLabPINVOKE.ClassFeatureSet_Double_GetMinMaxTab(swigCPtr), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(vector_MinMaxInput obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #12
0
 public void Init(ActivationFunction func, vector_int layerDescrTab, BiasNodes bias, vector_MinMaxInput minMaxInputTab, double minOutput, double maxOutput)
 {
     VisionLabPINVOKE.BPN_Init(swigCPtr, (int)func, vector_int.getCPtr(layerDescrTab), (int)bias, vector_MinMaxInput.getCPtr(minMaxInputTab), minOutput, maxOutput);
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #13
0
 public BPN(ActivationFunction func, vector_int layerDescrTab, BiasNodes bias, vector_MinMaxInput minMaxInputTab, double minOutput, double maxOutput) : this(VisionLabPINVOKE.new_BPN__SWIG_1((int)func, vector_int.getCPtr(layerDescrTab), (int)bias, vector_MinMaxInput.getCPtr(minMaxInputTab), minOutput, maxOutput), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Example #14
0
 public void Init(ActivationFunction func, vector_int layerDescrTab, BiasNodes bias, vector_MinMaxInput minMaxInputTab, double minOutput, double maxOutput) {
   VisionLabPINVOKE.BPN_Init(swigCPtr, (int)func, vector_int.getCPtr(layerDescrTab), (int)bias, vector_MinMaxInput.getCPtr(minMaxInputTab), minOutput, maxOutput);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public BPN_Classifier(int nrInputs, int nrHiddens1, int nrHiddens2, int nrOutputs, BiasNodes bias, vector_MinMaxInput minMaxInputTab) : this(VisionLabPINVOKE.new_BPN_Classifier__SWIG_1(nrInputs, nrHiddens1, nrHiddens2, nrOutputs, (int)bias, vector_MinMaxInput.getCPtr(minMaxInputTab)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public BPN_Classifier(int nrInputs, int nrHiddens1, int nrHiddens2, int nrOutputs, BiasNodes bias, vector_MinMaxInput minMaxInputTab) : this(VisionLabPINVOKE.new_BPN_Classifier__SWIG_1(nrInputs, nrHiddens1, nrHiddens2, nrOutputs, (int)bias, vector_MinMaxInput.getCPtr(minMaxInputTab)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }