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

C / C++ / MFC

 
GeneralRe: Hey Richard Pin
Richard MacCutchan11-Jan-10 11:35
mveRichard MacCutchan11-Jan-10 11:35 
Questionhow to write a function in a file at binary level (after compilation) Pin
Joseph Marzbani11-Jan-10 6:15
Joseph Marzbani11-Jan-10 6:15 
QuestionRe: how to write a function in a file at binary level (after compilation) Pin
CPallini11-Jan-10 6:36
mveCPallini11-Jan-10 6:36 
AnswerRe: how to write a function in a file at binary level (after compilation) Pin
Joseph Marzbani11-Jan-10 6:47
Joseph Marzbani11-Jan-10 6:47 
GeneralRe: how to write a function in a file at binary level (after compilation) Pin
CPallini11-Jan-10 6:52
mveCPallini11-Jan-10 6:52 
AnswerRe: how to write a function in a file at binary level (after compilation) Pin
Bram van Kampen11-Jan-10 16:01
Bram van Kampen11-Jan-10 16:01 
Questiondetect a hole in a binary image Pin
franckesh11-Jan-10 5:31
franckesh11-Jan-10 5:31 
AnswerRe: detect a hole in a binary image Pin
Nelek11-Jan-10 5:52
protectorNelek11-Jan-10 5:52 
One possibility could be using GetPixel ().

If you know the coordenates of that white shape, then you can just check in the shape if the pixels contained are white or black and increment a counter to know the area of the target object.

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: detect a hole in a binary image Pin
franckesh11-Jan-10 5:59
franckesh11-Jan-10 5:59 
GeneralRe: detect a hole in a binary image Pin
Nelek11-Jan-10 6:23
protectorNelek11-Jan-10 6:23 
AnswerRe: detect a hole in a binary image Pin
Chris Losinger11-Jan-10 7:23
professionalChris Losinger11-Jan-10 7:23 
AnswerRe: detect a hole in a binary image Pin
Rozis11-Jan-10 15:12
Rozis11-Jan-10 15:12 
AnswerRe: detect a hole in a binary image Pin
Bram van Kampen11-Jan-10 16:15
Bram van Kampen11-Jan-10 16:15 
GeneralRe: detect a hole in a binary image Pin
franckesh11-Jan-10 23:19
franckesh11-Jan-10 23:19 
AnswerRe: detect a hole in a binary image Pin
Shiju PK12-Jan-10 0:56
professionalShiju PK12-Jan-10 0:56 
AnswerRe: detect a hole in a binary image Pin
Alan Balkany12-Jan-10 5:20
Alan Balkany12-Jan-10 5:20 
QuestionAdding a browse button internal to an Edit Control Pin
maycockt11-Jan-10 3:54
maycockt11-Jan-10 3:54 
AnswerRe: Adding a browse button internal to an Edit Control Pin
«_Superman_»11-Jan-10 20:22
professional«_Superman_»11-Jan-10 20:22 
QuestionPlaying a MIDI note: is there an alternative to mmsystem.h/winmm.dll? Pin
AnatolyGorbunov11-Jan-10 3:50
AnatolyGorbunov11-Jan-10 3:50 
AnswerRe: Playing a MIDI note: is there an alternative to mmsystem.h/winmm.dll? Pin
AnatolyGorbunov14-Jan-10 20:18
AnatolyGorbunov14-Jan-10 20:18 
QuestionOrder in which the SDI Class is called Pin
Chandrasekharan P11-Jan-10 3:02
Chandrasekharan P11-Jan-10 3:02 
AnswerRe: Order in which the SDI Class is called Pin
Richard MacCutchan11-Jan-10 3:27
mveRichard MacCutchan11-Jan-10 3:27 
AnswerRe: Order in which the SDI Class is called Pin
fkeujjpdc13-Jan-10 1:30
fkeujjpdc13-Jan-10 1:30 
Questioncreating simple dilog box without using resource script Pin
kir_MFC10-Jan-10 22:54
kir_MFC10-Jan-10 22:54 
AnswerRe: creating simple dilog box without using resource script Pin
Richard MacCutchan10-Jan-10 23:02
mveRichard MacCutchan10-Jan-10 23:02 

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.