public static SWIGTYPE_p_cv__Matx22d AlignShapesWithScale(SWIGTYPE_p_cv__Mat_T_double_t src, SWIGTYPE_p_cv__Mat_T_double_t dst) { SWIGTYPE_p_cv__Matx22d ret = new SWIGTYPE_p_cv__Matx22d(LandmarkDetectorPINVOKE.AlignShapesWithScale(SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(src), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(dst)), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SWIGTYPE_p_cv__Matx22d AlignShapesKabsch2D(SWIGTYPE_p_cv__Mat_T_double_t align_from, SWIGTYPE_p_cv__Mat_T_double_t align_to) { SWIGTYPE_p_cv__Matx22d ret = new SWIGTYPE_p_cv__Matx22d(LandmarkDetectorPINVOKE.AlignShapesKabsch2D(SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(align_from), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(align_to)), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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(); } }
public static System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cv__Matx22d obj) { return(new System.Runtime.InteropServices.HandleRef(obj, obj.swigCPtr)); }