예제 #1
0
 public static extern IntPtr cvGetStarKeypoints(
     IntPtr img,
     IntPtr storage,
     StarDetector param);
예제 #2
0
 private extern static void CvStarDetectorDetectKeyPoints(
     ref StarDetector detector,
     IntPtr image,
     IntPtr keypoints);
예제 #3
0
        public void TestStarDetector()
        {
            Image<Gray, byte> box = new Image<Gray, byte>("box.png");
             StarDetector detector = new StarDetector();
             detector.SetDefaultParameters();

             MKeyPoint[] keypoints = detector.DetectKeyPoints(box);
             foreach (MKeyPoint kp in keypoints)
             {
            box.Draw(new CircleF(kp.Point, kp.Size), new Gray(255), 1);
             }
        }
예제 #4
0
 private static extern void CvStarDetectorDetectKeyPoints(
     ref StarDetector detector,
     IntPtr image,
     IntPtr keypoints);
예제 #5
0
 public static extern IntPtr cvGetStarKeypoints(
     IntPtr img,
     IntPtr storage,
     StarDetector param);