Exemplo n.º 1
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RidgeDetectionFilter))
            {
                LogError("owner is not initialized. Add Action \"newRidgeDetectionFilter\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RidgeDetectionFilter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RidgeDetectionFilter, OpenCVForUnity.XimgprocModule.RidgeDetectionFilter>(owner);

            if (!(_img.Value is OpenCVForUnityPlayMakerActions.Mat))
            {
                LogError("_img is not initialized. Add Action \"newMat\".");
                return;
            }
            OpenCVForUnity.CoreModule.Mat wrapped__img = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(_img);

            if (!(_out.Value is OpenCVForUnityPlayMakerActions.Mat))
            {
                LogError("_out is not initialized. Add Action \"newMat\".");
                return;
            }
            OpenCVForUnity.CoreModule.Mat wrapped__out = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(_out);

            wrapped_owner.getRidgeFilteredImage(wrapped__img, wrapped__out);
        }
Exemplo n.º 2
0
        //javadoc: RidgeDetectionFilter::create(ddepth, dx, dy, ksize)
        public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            RidgeDetectionFilter retVal = RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_14(ddepth, dx, dy, ksize));

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 3
0
        //
        // C++: static Ptr_RidgeDetectionFilter cv::ximgproc::RidgeDetectionFilter::create(int ddepth = CV_32FC1, int dx = 1, int dy = 1, int ksize = 3, int out_dtype = CV_8UC1, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT)
        //

        //javadoc: RidgeDetectionFilter::create(ddepth, dx, dy, ksize, out_dtype, scale, delta, borderType)
        public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta, int borderType)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            RidgeDetectionFilter retVal = RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_10(ddepth, dx, dy, ksize, out_dtype, scale, delta, borderType));

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 4
0
        //javadoc: RidgeDetectionFilter::create()
        public static RidgeDetectionFilter create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            RidgeDetectionFilter retVal = RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_18());

            return(retVal);
#else
            return(null);
#endif
        }
 /**
  * Create pointer to the Ridge detection filter.
  *     param ddepth  Specifies output image depth. Defualt is CV_32FC1
  *     param dx Order of derivative x, default is 1
  *     param dy  Order of derivative y, default is 1
  *     param ksize Sobel kernel size , default is 3
  *     param out_dtype Converted format for output, default is CV_8UC1
  *     param scale Optional scale value for derivative values, default is 1
  *     param delta  Optional bias added to output, default is 0
  *     SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
  * return automatically generated
  */
 public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta)
 {
     return(RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_11(ddepth, dx, dy, ksize, out_dtype, scale, delta)));
 }
 /**
  * Create pointer to the Ridge detection filter.
  *     SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
  * return automatically generated
  */
 public static RidgeDetectionFilter create()
 {
     return(RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_18()));
 }
 /**
  * Create pointer to the Ridge detection filter.
  *     param ddepth  Specifies output image depth. Defualt is CV_32FC1
  *     SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
  * return automatically generated
  */
 public static RidgeDetectionFilter create(int ddepth)
 {
     return(RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_17(ddepth)));
 }
 /**
  * Create pointer to the Ridge detection filter.
  *     param ddepth  Specifies output image depth. Defualt is CV_32FC1
  *     param dx Order of derivative x, default is 1
  *     param dy  Order of derivative y, default is 1
  *     SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
  * return automatically generated
  */
 public static RidgeDetectionFilter create(int ddepth, int dx, int dy)
 {
     return(RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_15(ddepth, dx, dy)));
 }
 /**
  * Create pointer to the Ridge detection filter.
  *     param ddepth  Specifies output image depth. Defualt is CV_32FC1
  *     param dx Order of derivative x, default is 1
  *     param dy  Order of derivative y, default is 1
  *     param ksize Sobel kernel size , default is 3
  *     param out_dtype Converted format for output, default is CV_8UC1
  *     SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
  * return automatically generated
  */
 public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype)
 {
     return(RidgeDetectionFilter.__fromPtr__(ximgproc_RidgeDetectionFilter_create_13(ddepth, dx, dy, ksize, out_dtype)));
 }
Exemplo n.º 10
0
 public RidgeDetectionFilter(OpenCVForUnity.XimgprocModule.RidgeDetectionFilter nativeObj) : base(nativeObj)
 {
 }