Exemple #1
0
        //
        // C++: static Ptr_BRISK cv::BRISK::create(int thresh, int octaves, vector_float radiusList, vector_int numberList, float dMax = 5.85f, float dMin = 8.2f, vector_int indexChange = std::vector<int>())
        //

        //javadoc: BRISK::create(thresh, octaves, radiusList, numberList, dMax, dMin, indexChange)
        public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
        {
            if (radiusList != null)
            {
                radiusList.ThrowIfDisposed();
            }
            if (numberList != null)
            {
                numberList.ThrowIfDisposed();
            }
            if (indexChange != null)
            {
                indexChange.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            Mat   radiusList_mat  = radiusList;
            Mat   numberList_mat  = numberList;
            Mat   indexChange_mat = indexChange;
            BRISK retVal          = BRISK.__fromPtr__(features2d_BRISK_create_10(thresh, octaves, radiusList_mat.nativeObj, numberList_mat.nativeObj, dMax, dMin, indexChange_mat.nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }
Exemple #2
0
        //javadoc: BRISK::create()
        public static BRISK create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BRISK retVal = BRISK.__fromPtr__(features2d_BRISK_create_17());

            return(retVal);
#else
            return(null);
#endif
        }
Exemple #3
0
        //
        // C++: static Ptr_BRISK cv::BRISK::create(int thresh = 30, int octaves = 3, float patternScale = 1.0f)
        //

        //javadoc: BRISK::create(thresh, octaves, patternScale)
        public static BRISK create(int thresh, int octaves, float patternScale)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BRISK retVal = BRISK.__fromPtr__(features2d_BRISK_create_14(thresh, octaves, patternScale));

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

            storeResult.Value = wrapped_owner.getOctaves();
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.BRISK))
            {
                LogError("owner is not initialized. Add Action \"newBRISK\".");
                return;
            }
            OpenCVForUnity.Features2dModule.BRISK wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BRISK, OpenCVForUnity.Features2dModule.BRISK>(owner);

            wrapped_owner.setThreshold(threshold.Value);
        }
Exemple #6
0
        /**
         * The BRISK constructor for a custom pattern, detection threshold and octaves
         *
         *     param thresh AGAST detection threshold score.
         *     param octaves detection octaves. Use 0 to do single scale.
         *     param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
         *     keypoint scale 1).
         *     param numberList defines the number of sampling points on the sampling circle. Must be the same
         *     size as radiusList..
         *     param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
         *     scale 1).
         *     keypoint scale 1).
         * return automatically generated
         */
        public static BRISK create(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax)
        {
            if (radiusList != null)
            {
                radiusList.ThrowIfDisposed();
            }
            if (numberList != null)
            {
                numberList.ThrowIfDisposed();
            }
            Mat radiusList_mat = radiusList;
            Mat numberList_mat = numberList;

            return(BRISK.__fromPtr__(features2d_BRISK_create_12(thresh, octaves, radiusList_mat.nativeObj, numberList_mat.nativeObj, dMax)));
        }
Exemple #7
0
        /**
         * The BRISK constructor for a custom pattern
         *
         *     param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
         *     keypoint scale 1).
         *     param numberList defines the number of sampling points on the sampling circle. Must be the same
         *     size as radiusList..
         *     scale 1).
         *     keypoint scale 1).
         * return automatically generated
         */
        public static BRISK create(MatOfFloat radiusList, MatOfInt numberList)
        {
            if (radiusList != null)
            {
                radiusList.ThrowIfDisposed();
            }
            if (numberList != null)
            {
                numberList.ThrowIfDisposed();
            }
            Mat radiusList_mat = radiusList;
            Mat numberList_mat = numberList;

            return(BRISK.__fromPtr__(features2d_BRISK_create_111(radiusList_mat.nativeObj, numberList_mat.nativeObj)));
        }
Exemple #8
0
        //javadoc: BRISK::create(radiusList, numberList)
        public static BRISK create(MatOfFloat radiusList, MatOfInt numberList)
        {
            if (radiusList != null)
            {
                radiusList.ThrowIfDisposed();
            }
            if (numberList != null)
            {
                numberList.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            Mat   radiusList_mat = radiusList;
            Mat   numberList_mat = numberList;
            BRISK retVal         = BRISK.__fromPtr__(features2d_BRISK_create_111(radiusList_mat.nativeObj, numberList_mat.nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }
Exemple #9
0
        //
        // C++: static Ptr_BRISK cv::BRISK::create(vector_float radiusList, vector_int numberList, float dMax = 5.85f, float dMin = 8.2f, vector_int indexChange = std::vector<int>())
        //

        /**
         * The BRISK constructor for a custom pattern
         *
         *     param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
         *     keypoint scale 1).
         *     param numberList defines the number of sampling points on the sampling circle. Must be the same
         *     size as radiusList..
         *     param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
         *     scale 1).
         *     param dMin threshold for the long pairings used for orientation determination (in pixels for
         *     keypoint scale 1).
         * param indexChange index remapping of the bits.
         * return automatically generated
         */
        public static BRISK create(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
        {
            if (radiusList != null)
            {
                radiusList.ThrowIfDisposed();
            }
            if (numberList != null)
            {
                numberList.ThrowIfDisposed();
            }
            if (indexChange != null)
            {
                indexChange.ThrowIfDisposed();
            }
            Mat radiusList_mat  = radiusList;
            Mat numberList_mat  = numberList;
            Mat indexChange_mat = indexChange;

            return(BRISK.__fromPtr__(features2d_BRISK_create_18(radiusList_mat.nativeObj, numberList_mat.nativeObj, dMax, dMin, indexChange_mat.nativeObj)));
        }
 public BRISK(OpenCVForUnity.Features2dModule.BRISK nativeObj) : base(nativeObj)
 {
 }
Exemple #11
0
 /**
  * The BRISK constructor
  *
  *     keypoint.
  * return automatically generated
  */
 public static BRISK create()
 {
     return(BRISK.__fromPtr__(features2d_BRISK_create_17()));
 }
Exemple #12
0
 /**
  * The BRISK constructor
  *
  *     param thresh AGAST detection threshold score.
  *     keypoint.
  * return automatically generated
  */
 public static BRISK create(int thresh)
 {
     return(BRISK.__fromPtr__(features2d_BRISK_create_16(thresh)));
 }
Exemple #13
0
 /**
  * The BRISK constructor
  *
  *     param thresh AGAST detection threshold score.
  *     param octaves detection octaves. Use 0 to do single scale.
  *     keypoint.
  * return automatically generated
  */
 public static BRISK create(int thresh, int octaves)
 {
     return(BRISK.__fromPtr__(features2d_BRISK_create_15(thresh, octaves)));
 }
Exemple #14
0
        //
        // C++: static Ptr_BRISK cv::BRISK::create(int thresh = 30, int octaves = 3, float patternScale = 1.0f)
        //

        /**
         * The BRISK constructor
         *
         *     param thresh AGAST detection threshold score.
         *     param octaves detection octaves. Use 0 to do single scale.
         *     param patternScale apply this scale to the pattern used for sampling the neighbourhood of a
         *     keypoint.
         * return automatically generated
         */
        public static BRISK create(int thresh, int octaves, float patternScale)
        {
            return(BRISK.__fromPtr__(features2d_BRISK_create_14(thresh, octaves, patternScale)));
        }