【发布时间】:2015-03-12 14:13:38
【问题描述】:
Image My_Image = new Image(Openfile.FileName);
pictureBox1.Image = My_Image.ToBitmap();
Image<Gray, Byte> modelImage = My_Image.Convert<Gray, byte>();
SIFTDetector siftCPU = new SIFTDetector();
VectorOfKeyPoint modelKeyPoints = new VectorOfKeyPoint();
MKeyPoint[] mKeyPoints = siftCPU.DetectKeyPoints(modelImage, null);
modelKeyPoints.Push(mKeyPoints);
ImageFeature<float>[] results = siftCPU.ComputeDescriptors(modelImage, null, mKeyPoints);
Image<Bgr, Byte> image = Features2DToolbox.DrawKeypoints(modelImage, modelKeyPoints, new Bgr(Color.Red), Features2DToolbox.KeypointDrawType.DEFAULT);
pictureBox1.Image = image.ToBitmap();
这个程序只是在一个图像中找到 SIFT 描述符。我想与 Image 进行比较,但我不知道我将使用哪个 ImageFeature。我正在查找 ImageFeature 的功能 我找不到 请帮我。
【问题讨论】:
-
你的问题我不清楚。但我认为这会很有用。 [链接] (emgu.com/wiki/index.php/SURF_feature_detector_in_CSharp)
标签: compare emgucv sift feature-descriptor