示例#1
0
        //
        // C++: static Ptr_AKAZE cv::AKAZE::create(AKAZE_DescriptorType descriptor_type = AKAZE::DESCRIPTOR_MLDB, int descriptor_size = 0, int descriptor_channels = 3, float threshold = 0.001f, int nOctaves = 4, int nOctaveLayers = 4, KAZE_DiffusivityType diffusivity = KAZE::DIFF_PM_G2)
        //

        //javadoc: AKAZE::create(descriptor_type, descriptor_size, descriptor_channels, threshold, nOctaves, nOctaveLayers, diffusivity)
        public static AKAZE create(int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers, int diffusivity)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AKAZE retVal = AKAZE.__fromPtr__(features2d_AKAZE_create_10(descriptor_type, descriptor_size, descriptor_channels, threshold, nOctaves, nOctaveLayers, diffusivity));

            return(retVal);
#else
            return(null);
#endif
        }
示例#2
0
        //javadoc: AKAZE::create(descriptor_type, descriptor_size)
        public static AKAZE create(int descriptor_type, int descriptor_size)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AKAZE retVal = AKAZE.__fromPtr__(features2d_AKAZE_create_15(descriptor_type, descriptor_size));

            return(retVal);
#else
            return(null);
#endif
        }
示例#3
0
        //javadoc: AKAZE::create()
        public static AKAZE create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AKAZE retVal = AKAZE.__fromPtr__(features2d_AKAZE_create_17());

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

            storeResult.Value = wrapped_owner.getDescriptorType();
        }
示例#5
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.AKAZE))
            {
                LogError("owner is not initialized. Add Action \"newAKAZE\".");
                return;
            }
            OpenCVForUnity.Features2dModule.AKAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.AKAZE, OpenCVForUnity.Features2dModule.AKAZE>(owner);

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

            if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Double))
            {
                storeResult.Value = new OpenCVForUnityPlayMakerActions.Double();
            }
            ((OpenCVForUnityPlayMakerActions.Double)storeResult.Value).wrappedObject = wrapped_owner.getThreshold();
        }
示例#7
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.AKAZE))
            {
                LogError("owner is not initialized. Add Action \"newAKAZE\".");
                return;
            }
            OpenCVForUnity.Features2dModule.AKAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.AKAZE, OpenCVForUnity.Features2dModule.AKAZE>(owner);

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

            wrapped_owner.setThreshold(wrapped_threshold);
        }
 public AKAZE(OpenCVForUnity.Features2dModule.AKAZE nativeObj) : base(nativeObj)
 {
 }
示例#9
0
 /**
  * The AKAZE constructor
  *
  *     DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
  *     DIFF_CHARBONNIER
  * return automatically generated
  */
 public static AKAZE create()
 {
     return(AKAZE.__fromPtr__(features2d_AKAZE_create_17()));
 }
示例#10
0
 /**
  * The AKAZE constructor
  *
  *     param descriptor_type Type of the extracted descriptor: DESCRIPTOR_KAZE,
  *     DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
  *     DIFF_CHARBONNIER
  * return automatically generated
  */
 public static AKAZE create(int descriptor_type)
 {
     return(AKAZE.__fromPtr__(features2d_AKAZE_create_16(descriptor_type)));
 }
示例#11
0
 /**
  * The AKAZE constructor
  *
  *     param descriptor_type Type of the extracted descriptor: DESCRIPTOR_KAZE,
  *     DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
  *     param descriptor_size Size of the descriptor in bits. 0 -&gt; Full size
  *     param descriptor_channels Number of channels in the descriptor (1, 2, 3)
  *     DIFF_CHARBONNIER
  * return automatically generated
  */
 public static AKAZE create(int descriptor_type, int descriptor_size, int descriptor_channels)
 {
     return(AKAZE.__fromPtr__(features2d_AKAZE_create_14(descriptor_type, descriptor_size, descriptor_channels)));
 }
示例#12
0
 /**
  * The AKAZE constructor
  *
  *     param descriptor_type Type of the extracted descriptor: DESCRIPTOR_KAZE,
  *     DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
  *     param descriptor_size Size of the descriptor in bits. 0 -&gt; Full size
  *     param descriptor_channels Number of channels in the descriptor (1, 2, 3)
  *     param threshold Detector response threshold to accept point
  *     DIFF_CHARBONNIER
  * return automatically generated
  */
 public static AKAZE create(int descriptor_type, int descriptor_size, int descriptor_channels, float threshold)
 {
     return(AKAZE.__fromPtr__(features2d_AKAZE_create_13(descriptor_type, descriptor_size, descriptor_channels, threshold)));
 }
示例#13
0
 /**
  * The AKAZE constructor
  *
  *     param descriptor_type Type of the extracted descriptor: DESCRIPTOR_KAZE,
  *     DESCRIPTOR_KAZE_UPRIGHT, DESCRIPTOR_MLDB or DESCRIPTOR_MLDB_UPRIGHT.
  *     param descriptor_size Size of the descriptor in bits. 0 -&gt; Full size
  *     param descriptor_channels Number of channels in the descriptor (1, 2, 3)
  *     param threshold Detector response threshold to accept point
  *     param nOctaves Maximum octave evolution of the image
  *     param nOctaveLayers Default number of sublevels per scale level
  *     DIFF_CHARBONNIER
  * return automatically generated
  */
 public static AKAZE create(int descriptor_type, int descriptor_size, int descriptor_channels, float threshold, int nOctaves, int nOctaveLayers)
 {
     return(AKAZE.__fromPtr__(features2d_AKAZE_create_11(descriptor_type, descriptor_size, descriptor_channels, threshold, nOctaves, nOctaveLayers)));
 }