Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ImageProcessing
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 7:41am
hajis329
Comments
Matt T Heffron at 20-Mar-13 12:51pm
   
So what research have you done?
Bing give lots of hits when I searched on "matching images algorithm"
hajis at 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 at 20-Mar-13 14:50pm
   
That is a DIFFERENT question!
See my solution, below.
Rate this: bad
good
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.
  Permalink  
Comments
hajis at 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 at 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
0 OriginalGriff 240
1 Kamal Rocks 184
2 PIEBALDconsult 150
3 BillWoodruff 148
4 Jochen Arndt 135
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2014
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