/// <summary>
        /// SURFのデフォルトパラメータを生成する
        /// </summary>
        /// <param name="hessianThreshold">keypoint.hessian の値がこの閾値よりも大きい特徴だけが検出される</param>
        /// <param name="extended">false:基本的なディスクリプタ(64要素), true:拡張されたディスクリプタ(128要素)</param>
#else
        /// <summary>
        /// Creates SURF default parameters
        /// </summary>
        /// <param name="hessianThreshold">Only features with keypoint.hessian larger than that are extracted. </param>
        /// <param name="extended">false means basic descriptors (64 elements each), true means _extended descriptors (128 elements each) </param>
#endif
        public CvSURFParams(double hessianThreshold, bool extended)
        {
            _p = CvInvoke.cvSURFParams(hessianThreshold, extended);
        }
Exemple #2
0
        /// <summary>
        /// SURFのデフォルトパラメータを生成する
        /// </summary>
        /// <param name="hessianThreshold">keypoint.hessian の値がこの閾値よりも大きい特徴だけが検出される</param>
        /// <param name="extended">false:基本的なディスクリプタ(64要素), true:拡張されたディスクリプタ(128要素)</param>
#else
        /// <summary>
        /// Creates SURF default parameters
        /// </summary>
        /// <param name="hessianThreshold">Only features with keypoint.hessian larger than that are extracted. </param>
        /// <param name="extended">false means basic descriptors (64 elements each), true means _extended descriptors (128 elements each) </param>
#endif
        public CvSURFParams(double hessianThreshold, bool extended)
        {
            _p = NativeMethods.cvSURFParams(hessianThreshold, extended);
        }
Exemple #3
0
 public static extern void cvExtractSURF(IntPtr image, IntPtr mask, ref IntPtr keypoints, ref IntPtr descriptors, IntPtr storage,
     WCvSURFParams parameters, [MarshalAs(UnmanagedType.Bool)] bool useProvidedKeyPts);
Exemple #4
0
        /// <summary>
        /// SURFのデフォルトパラメータを生成する
        /// </summary>
        /// <param name="hessianThreshold">keypoint.hessian の値がこの閾値よりも大きい特徴だけが検出される</param>
        /// <param name="extended">false:基本的なディスクリプタ(64要素), true:拡張されたディスクリプタ(128要素)</param>
#else
        /// <summary>
        /// Creates SURF default parameters
        /// </summary>
        /// <param name="hessianThreshold">Only features with keypoint.hessian larger than that are extracted. </param>
        /// <param name="extended">false means basic descriptors (64 elements each), true means _extended descriptors (128 elements each) </param>
#endif
        public CvSURFParams(double hessianThreshold, bool extended)
        {
            _p = NativeMethods.cvSURFParams(hessianThreshold, extended);
        }