Click here to Skip to main content
13,043,654 members (51,849 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello Everyone ,,

I have to do image recognition program which will take an image from the user (using webcam or upload link) and matching it with a various number of images that have been stored in database. The program will give the user the BEST image that almost similar to his image .

The problem is in matching function .I don't know how to process the image to match it ?
Should I convert it to gray scale and do the segmentation?

I'm using c# . Is there an easy way to do it ?

Thank you,,
Posted 20-Mar-13 6:41am
Matt T Heffron 20-Mar-13 12:51pm
So what research have you done?
Bing give lots of hits when I searched on "matching images algorithm"
hajis 20-Mar-13 13:51pm
I found many algorithms but I don't know how to apply them in coding.. I'm trying to use the gray scale co-occurrence matrix ..I need the steps and how to apply the Haralick features?
Matt T Heffron 20-Mar-13 14:50pm
That is a DIFFERENT question!
See my solution, below.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

If you don't know how to implement an algorithm in code, then THAT is your bigger problem.
Like any programming problem:
First learn what the algorithm is doing. You need to understand it.
Next determine the data structures you will need to represent your data through all steps of the algorithm.
Then (and only then) convert the steps of the algorithm into code.

Having someone give you code that you don't understand, for an algorithm you don't understand, is not going to serve you well in the future.

This is a substantial problem. You should expect to put in substantial effort.

Go for it! and feel free to come back here with questions when you have specific difficulties with the implementation.
hajis 20-Mar-13 15:09pm
I didn't say that i want the code ..
I understand most of things of that algorithm but still it is not clear for me how to implement it,

thanks for you to response
Matt T Heffron 20-Mar-13 16:18pm
I apologize for assuming you were asking for code. (It happens on CodeProject *way too often*!)
I'd suggest you post, as a NEW QUESTION, the specific difficulty you are having.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100