SIFT implementation in C#

want to use sift implementation in c#.

found website but i am confused that there is no main program or project file. I couldn't understand how ca i use it in normal c# console/window application and what is rule of GK# is. Could some body give some useful hint.

or some body knows other implemetation code in c#.


The naming convention follows the original C code publish by UBC, since it was only a test to see how the algorithm performs. I will be happy to help if you need any.

There is no main program because it is obvisouly a class library. Either create a project using your favorite IDE and add the source files to it, or open a terminal window and build the library using the included Makefile.

You can find one implementation here which has a Sift class. Its based on EmguCV library. The sift_features (name is very against C# conventions) returns you a list of Feature object which has a double[] descriptor member.

This code is very similar to Surf algorithm .

    public Image<Bgr, Byte> PutFeaturesOnImage(string file)
        Image<Gray, Byte> modelImage = new Image<Gray, byte>(file);
        SIFTDetector siftCPU = new SIFTDetector();
        VectorOfKeyPoint modelKeyPoints = new VectorOfKeyPoint();
        MKeyPoint[] mKeyPoints = siftCPU.DetectKeyPoints(modelImage, null);
        ImageFeature<float>[] reulst = siftCPU.ComputeDescriptors(modelImage, null, mKeyPoints);
        Image<Bgr, Byte> image = Features2DToolbox.DrawKeypoints(modelImage, modelKeyPoints, new Bgr(Color.Red), Features2DToolbox.KeypointDrawType.DEFAULT);
        return image;

Remember to add librarys:

using Emgu.CV;
using Emgu.CV.Features2D;
using Emgu.CV.Util;
using Emgu.CV.Structure;
using System.Drawing;

I compared EmguCv and OpenCV SIFT algorithms. The results are the same. In both examples are exactly the same number of features.

Need Your Help

Escaping Quotes on sed command through ssh2_exec in php

php sed libssh2

I'm trying to use the following command in php to send to my server:

Mark points on contour line using OpenCV

c++ opencv image-processing contour edge-detection

I want to make set of points in similar distance on a edge line of plant leaf (as shown in the below image). I want to make the red coloured small square on the edge line of the leaf.I store the se...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.