Exemplo n.º 1
0
        //
        // C++: static Ptr_GFTTDetector cv::GFTTDetector::create(int maxCorners = 1000, double qualityLevel = 0.01, double minDistance = 1, int blockSize = 3, bool useHarrisDetector = false, double k = 0.04)
        //

        //javadoc: GFTTDetector::create(maxCorners, qualityLevel, minDistance, blockSize, useHarrisDetector, k)
        public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, bool useHarrisDetector, double k)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            GFTTDetector retVal = GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_13(maxCorners, qualityLevel, minDistance, blockSize, useHarrisDetector, k));

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 2
0
        //javadoc: GFTTDetector::create(maxCorners, qualityLevel)
        public static GFTTDetector create(int maxCorners, double qualityLevel)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            GFTTDetector retVal = GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_17(maxCorners, qualityLevel));

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

            return(retVal);
#else
            return(null);
#endif
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.GFTTDetector))
            {
                LogError("owner is not initialized. Add Action \"newGFTTDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.GFTTDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GFTTDetector, OpenCVForUnity.Features2dModule.GFTTDetector>(owner);

            wrapped_owner.setK((float)k.Value);
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.GFTTDetector))
            {
                LogError("owner is not initialized. Add Action \"newGFTTDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.GFTTDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GFTTDetector, OpenCVForUnity.Features2dModule.GFTTDetector>(owner);

            storeResult.Value = wrapped_owner.getDefaultName();
        }
Exemplo n.º 6
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.GFTTDetector))
            {
                LogError("owner is not initialized. Add Action \"newGFTTDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.GFTTDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GFTTDetector, OpenCVForUnity.Features2dModule.GFTTDetector>(owner);

            if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Double))
            {
                storeResult.Value = new OpenCVForUnityPlayMakerActions.Double();
            }
            ((OpenCVForUnityPlayMakerActions.Double)storeResult.Value).wrappedObject = wrapped_owner.getMinDistance();
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.GFTTDetector))
            {
                LogError("owner is not initialized. Add Action \"newGFTTDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.GFTTDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GFTTDetector, OpenCVForUnity.Features2dModule.GFTTDetector>(owner);

            if (!(k.Value is OpenCVForUnityPlayMakerActions.Double))
            {
                LogError("k is not initialized. Add Action \"newDouble\".");
                return;
            }
            System.Double wrapped_k = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(k);

            wrapped_owner.setK(wrapped_k);
        }
Exemplo n.º 8
0
 public GFTTDetector(OpenCVForUnity.Features2dModule.GFTTDetector nativeObj) : base(nativeObj)
 {
 }
Exemplo n.º 9
0
 public static GFTTDetector create(int maxCorners)
 {
     return(GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_18(maxCorners)));
 }
Exemplo n.º 10
0
 public static GFTTDetector create(int maxCorners, double qualityLevel)
 {
     return(GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_17(maxCorners, qualityLevel)));
 }
Exemplo n.º 11
0
 public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize)
 {
     return(GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_15(maxCorners, qualityLevel, minDistance, blockSize)));
 }
Exemplo n.º 12
0
        //
        // C++: static Ptr_GFTTDetector cv::GFTTDetector::create(int maxCorners = 1000, double qualityLevel = 0.01, double minDistance = 1, int blockSize = 3, bool useHarrisDetector = false, double k = 0.04)
        //

        public static GFTTDetector create(int maxCorners, double qualityLevel, double minDistance, int blockSize, bool useHarrisDetector, double k)
        {
            return(GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_13(maxCorners, qualityLevel, minDistance, blockSize, useHarrisDetector, k)));
        }
Exemplo n.º 13
0
 public static GFTTDetector create()
 {
     return(GFTTDetector.__fromPtr__(features2d_GFTTDetector_create_19()));
 }