/// <summary>
        /// 初期化
        /// </summary>
        /// <param name="maxSize"></param>
        /// <param name="responseThreshold"></param>
        /// <param name="lineThresholdProjected"></param>
        /// <param name="lineThresholdBinarized"></param>
        /// <param name="suppressNonmaxSize"></param>
#else
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="maxSize"></param>
        /// <param name="responseThreshold"></param>
        /// <param name="lineThresholdProjected"></param>
        /// <param name="lineThresholdBinarized"></param>
        /// <param name="suppressNonmaxSize"></param>
#endif
        public CvStarDetectorParams(int maxSize, int responseThreshold, int lineThresholdProjected, int lineThresholdBinarized, int suppressNonmaxSize)
        {
            p                        = new WCvStarDetectorParams();
            p.maxSize                = maxSize;
            p.responseThreshold      = responseThreshold;
            p.lineThresholdProjected = lineThresholdProjected;
            p.lineThresholdBinarized = lineThresholdBinarized;
            p.suppressNonmaxSize     = suppressNonmaxSize;
        }
Esempio n. 2
0
 public static extern IntPtr cvGetStarKeypoints(IntPtr img, IntPtr storage, WCvStarDetectorParams @params);