예제 #1
0
 public FloatMatList(FloatMatList other) : this(LandmarkDetectorPINVOKE.new_FloatMatList__SWIG_1(FloatMatList.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public FloatMatListEnumerator(FloatMatList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void Response(FloatMatList patch_expert_responses, SWIGTYPE_p_cv__Matx22f sim_ref_to_img, SWIGTYPE_p_cv__Matx22d sim_img_to_ref, SWIGTYPE_p_cv__Mat_T_uchar_t grayscale_image, SWIGTYPE_p_PDM pdm, SWIGTYPE_p_cv__Vec6d params_global, SWIGTYPE_p_cv__Mat_T_double_t params_local, int window_size, int scale)
 {
     LandmarkDetectorPINVOKE.Patch_experts_Response(swigCPtr, FloatMatList.getCPtr(patch_expert_responses), SWIGTYPE_p_cv__Matx22f.getCPtr(sim_ref_to_img), SWIGTYPE_p_cv__Matx22d.getCPtr(sim_img_to_ref), SWIGTYPE_p_cv__Mat_T_uchar_t.getCPtr(grayscale_image), SWIGTYPE_p_PDM.getCPtr(pdm), SWIGTYPE_p_cv__Vec6d.getCPtr(params_global), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(params_local), window_size, scale);
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public void SetRange(int index, FloatMatList values)
 {
     LandmarkDetectorPINVOKE.FloatMatList_SetRange(swigCPtr, index, FloatMatList.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
 public void ComputeSigmas(FloatMatList sigma_components, int window_size)
 {
     LandmarkDetectorPINVOKE.CCNF_patch_expert_ComputeSigmas(swigCPtr, FloatMatList.getCPtr(sigma_components), window_size);
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #6
0
        public static FloatMatList Repeat(SWIGTYPE_p_cv__Mat_T_float_t value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.FloatMatList_Repeat(SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(value), count);
            FloatMatList          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatMatList(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        public FloatMatList GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.FloatMatList_GetRange(swigCPtr, index, count);
            FloatMatList          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatMatList(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FloatMatList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }