Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to search in image and compare it with another image ? Pin
hdv2121-Jul-08 8:01
hdv2121-Jul-08 8:01 
AnswerRe: how to search in image and compare it with another image ? Pin
Russell Jones1-Jul-08 4:43
Russell Jones1-Jul-08 4:43 
are you looking for an exact grid of pixels in the image or something softer like a thing that looks to a certain extent like the other image.

If you have both images as bitmaps then take the colour value of pixel (0,0) in the image you are looking for. Then search the first image till you find a match. When you have a match check to see if pixel (1,0) matches the next pixel along in the image. If it does go to pixel(2,0) etc. If the pixel doesn't match go back to searching the image for the colour value from Pixel(0,0) again until you either find a match or run out of image to search.

Russell
GeneralRe: how to search in image and compare it with another image ? Pin
hdv2121-Jul-08 8:02
hdv2121-Jul-08 8:02 
QuestionTransfer parameter in main method Pin
jason_mf30-Jun-08 22:11
jason_mf30-Jun-08 22:11 
AnswerRe: Transfer parameter in main method Pin
dan!sh 30-Jun-08 22:28
professional dan!sh 30-Jun-08 22:28 
GeneralRe: Transfer parameter in main method Pin
jason_mf30-Jun-08 22:32
jason_mf30-Jun-08 22:32 
GeneralRe: Transfer parameter in main method Pin
dan!sh 30-Jun-08 22:38
professional dan!sh 30-Jun-08 22:38 
GeneralRe: Transfer parameter in main method Pin
jason_mf30-Jun-08 22:50
jason_mf30-Jun-08 22:50 
GeneralRe: Transfer parameter in main method Pin
dan!sh 30-Jun-08 22:56
professional dan!sh 30-Jun-08 22:56 
GeneralRe: Transfer parameter in main method Pin
jason_mf30-Jun-08 23:08
jason_mf30-Jun-08 23:08 
GeneralRe: Transfer parameter in main method Pin
Expert Coming30-Jun-08 23:10
Expert Coming30-Jun-08 23:10 
GeneralRe: Transfer parameter in main method Pin
jason_mf30-Jun-08 23:23
jason_mf30-Jun-08 23:23 
GeneralRe: Transfer parameter in main method Pin
Expert Coming30-Jun-08 23:06
Expert Coming30-Jun-08 23:06 
GeneralRe: Transfer parameter in main method Pin
jason_mf30-Jun-08 23:15
jason_mf30-Jun-08 23:15 
Questiondecimal format in xml serialization Pin
JoZ CaVaLLo30-Jun-08 22:08
JoZ CaVaLLo30-Jun-08 22:08 
QuestionChange windows Time & Date Pin
Mahdi 8216102130-Jun-08 21:59
Mahdi 8216102130-Jun-08 21:59 
AnswerRe: Change windows Time & Date Pin
Simon P Stevens30-Jun-08 22:34
Simon P Stevens30-Jun-08 22:34 
AnswerRe: Change windows Time & Date Pin
PIEBALDconsult1-Jul-08 4:56
mvePIEBALDconsult1-Jul-08 4:56 
Questionbinding data from sql tables to treeview control c#.net? Pin
Ashish Kumar Vyas30-Jun-08 21:57
Ashish Kumar Vyas30-Jun-08 21:57 
QuestionAdding rows to DataGridView programmatically Pin
Desmond Lim30-Jun-08 21:51
Desmond Lim30-Jun-08 21:51 
AnswerRe: Adding rows to DataGridView programmatically Pin
lnkgoeng2-Jul-08 0:55
lnkgoeng2-Jul-08 0:55 
QuestionProblem with printing a page foreach listview.items Pin
andredani30-Jun-08 21:48
andredani30-Jun-08 21:48 
AnswerRe: Problem with printing a page foreach listview.items Pin
Christian Graus30-Jun-08 21:58
protectorChristian Graus30-Jun-08 21:58 
GeneralRe: Problem with printing a page foreach listview.items Pin
andredani30-Jun-08 23:07
andredani30-Jun-08 23:07 
Questionabout c#.net Pin
rupmax30-Jun-08 21:39
rupmax30-Jun-08 21:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.