Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
CPallini19-Nov-09 21:52
mveCPallini19-Nov-09 21:52 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
David Crow20-Nov-09 3:39
David Crow20-Nov-09 3:39 
AnswerRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
Richard MacCutchan19-Nov-09 21:55
mveRichard MacCutchan19-Nov-09 21:55 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
sirryan19-Nov-09 23:19
sirryan19-Nov-09 23:19 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
Richard MacCutchan20-Nov-09 0:05
mveRichard MacCutchan20-Nov-09 0:05 
GeneralRe: ::EmptyClipboard gives an error 1418 - Thread does not have a clipboard open. Pin
sirryan20-Nov-09 4:58
sirryan20-Nov-09 4:58 
QuestionMFC,goto definition of XXX Pin
lxkjlzz19-Nov-09 19:32
lxkjlzz19-Nov-09 19:32 
JokeRe: MFC,goto definition of XXX Pin
CPallini19-Nov-09 20:27
mveCPallini19-Nov-09 20:27 
AnswerRe: MFC,goto definition of XXX Pin
m_mun19-Nov-09 20:37
m_mun19-Nov-09 20:37 
GeneralRe: MFC,goto definition of XXX Pin
sashoalm19-Nov-09 20:51
sashoalm19-Nov-09 20:51 
GeneralRe: MFC,goto definition of XXX Pin
lxkjlzz19-Nov-09 20:52
lxkjlzz19-Nov-09 20:52 
AnswerRe: MFC,goto definition of XXX Pin
lxkjlzz19-Nov-09 21:24
lxkjlzz19-Nov-09 21:24 
GeneralRe: MFC,goto definition of XXX Pin
krmed20-Nov-09 0:41
krmed20-Nov-09 0:41 
GeneralRe: MFC,goto definition of XXX Pin
lxkjlzz22-Nov-09 14:47
lxkjlzz22-Nov-09 14:47 
QuestionImage comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 19:15
justabeagle19-Nov-09 19:15 
I am writing a program in C that compares two images taken by a camera to see if they are different. I have an idea of how to do this, by putting the images into 2 dimensional arrays and comparing the RGB value at corresponding array positions, however I cannot figure out how to get the image into an array.

I've found a ton of example of how to do this in C#, but that's not so helpful. The only bit of C code I've been able to find uses fread() to read the images but that doesn't seem to work.

I've also heard some suggestions that converting the images to greyscale is helpful in comparing the pixels. Agree? Disagree? And I've been working with jpegs, but is there another format that might work better?

Thanks in advance
AnswerRe: Image comparison - How to read an image so you can compare pixels? Pin
Game-point19-Nov-09 19:28
Game-point19-Nov-09 19:28 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 20:10
justabeagle19-Nov-09 20:10 
AnswerRe: Image comparison - How to read an image so you can compare pixels? Pin
«_Superman_»19-Nov-09 19:53
professional«_Superman_»19-Nov-09 19:53 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 20:13
justabeagle19-Nov-09 20:13 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
«_Superman_»19-Nov-09 20:15
professional«_Superman_»19-Nov-09 20:15 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle19-Nov-09 21:11
justabeagle19-Nov-09 21:11 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
LunaticFringe20-Nov-09 1:30
LunaticFringe20-Nov-09 1:30 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle20-Nov-09 11:54
justabeagle20-Nov-09 11:54 
AnswerRe: Image comparison - How to read an image so you can compare pixels? Pin
David Crow20-Nov-09 3:47
David Crow20-Nov-09 3:47 
Questiona problem about debug and release Pin
vctrlao19-Nov-09 18:24
vctrlao19-Nov-09 18:24 

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.