Example #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
        }
Example #2
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
        }
Example #3
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
        }
Example #4
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)));
        }
Example #5
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)));
        }
Example #6
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
        }
Example #7
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)));
        }
Example #8
0
 /**
  * The BRISK constructor
  *
  *     keypoint.
  * return automatically generated
  */
 public static BRISK create()
 {
     return(BRISK.__fromPtr__(features2d_BRISK_create_17()));
 }
Example #9
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)));
 }
Example #10
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)));
 }
Example #11
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)));
        }