예제 #1
0
 internal static extern void cv_features2d_KeyPoint_convert_vector_Point2f(
     Point2fCollection points2f,
     KeyPointCollection keypoints,
     float size,
     float response,
     int octave,
     int class_id);
예제 #2
0
 internal static extern void cv_features2d_drawMatches(
     Arr img1, KeyPointCollection keypoints1,
     Arr img2, KeyPointCollection keypoints2,
     DMatchCollection matches1to2, Arr outImg,
     Scalar matchColor,
     Scalar singlePointColor,
     ByteCollection matchesMask,
     DrawMatchesFlags flags);
        public void TestAddFail()
        {
            KeyPointCollection list = new KeyPointCollection();

            KeyPoint p1 = new KeyPoint(1, 2);
            KeyPoint p2 = new KeyPoint(1, 2);

            list.Add(p1);
            list.Add(p2);

            Assert.IsTrue(list.Count == 1);
        }
예제 #4
0
 internal static void Draw(IplImage image, KeyPointCollection keyPoints)
 {
     if (image != null)
     {
         var color  = image.Channels == 1 ? Scalar.Real(255) : Scalar.Rgb(255, 0, 0);
         var radius = DefaultRadius * (int)Math.Ceiling(image.Height / DefaultHeight);
         foreach (var keyPoint in keyPoints)
         {
             CV.Circle(image, new Point(keyPoint), radius, color, -1);
         }
     }
 }
예제 #5
0
 internal static extern void cv_features2d_ORB_detect(Orb detector, Arr image, KeyPointCollection keypoints, Arr mask);
예제 #6
0
 internal static extern void cv_features2d_BRISK_compute(Brisk extractor, Arr image, KeyPointCollection keypoints, Arr descriptors);
예제 #7
0
 internal static extern void cv_features2d_BRISK_detect(Brisk detector, Arr image, KeyPointCollection keypoints, Arr mask);
예제 #8
0
 internal static extern void cv_features2d_KeyPointsFilter_retainBest(KeyPointCollection keypoints, int npoints);
예제 #9
0
 internal static extern void cv_features2d_KeyPointsFilter_removeDuplicated(KeyPointCollection keypoints);
예제 #10
0
 internal static extern void cv_features2d_KeyPointsFilter_runByPixelsMask(KeyPointCollection keypoints, Arr mask);
예제 #11
0
 internal static extern IntPtr cv_vector_KeyPoint_size(KeyPointCollection vector);
예제 #12
0
 internal static extern void cv_features2d_KeyPointsFilter_runByImageBorder(KeyPointCollection keypoints, Size imageSize, int borderSize);
예제 #13
0
 internal static extern void cv_vector_KeyPoint_copy(KeyPointCollection vector, [Out] KeyPoint[] data);
예제 #14
0
 internal static extern void cv_features2d_KeyPoint_convert_vector_KeyPoint(
     KeyPointCollection keypoints,
     Point2fCollection points2f,
     Int32Collection keypointIndexes);
예제 #15
0
 internal static extern void cv_features2d_drawKeypoints(Arr image, KeyPointCollection keypoints, Arr output, Scalar color, DrawMatchesFlags flags);
예제 #16
0
 internal static extern void cv_features2d_FASTX(Arr image, KeyPointCollection keypoints, int threshold, bool nonmaxSupression, FastDetectorType type);
예제 #17
0
 internal static extern void cv_features2d_FAST(Arr image, KeyPointCollection keypoints, int threshold, bool nonmaxSupression);
예제 #18
0
 internal static extern void cv_features2d_ORB_compute(Orb extractor, Arr image, KeyPointCollection keypoints, Arr descriptors);
예제 #19
0
 internal static extern void cv_features2d_KeyPointsFilter_runByKeypointSize(KeyPointCollection keypoints, float minSize, float maxSize);
예제 #20
0
파일: Key.cs 프로젝트: xzoth/GridUnlock
 public Key()
 {
     Items = new KeyPointCollection();
     TimeSpamp = new TimeSpan(DateTime.Now.Ticks);
 }
예제 #21
0
 internal static extern IntPtr cv_vector_KeyPoint_iterator_new(KeyPointCollection vector);