Click here to Skip to main content
16,018,418 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
First find the hole, then search in an expanding spiral to find the hole's bounds.

Searching every pixel in the image is slow. If you have any advance knowledge about the image and hole, you can use this to speed up the search.

For example, if you know the hole will be over 10 pixels wide, you can search every 10th pixel, looking for the hole. This will speed up your search by a factor of 10.
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 
AnswerRe: creating simple dilog box without using resource script Pin
Adam Roderick J10-Jan-10 23:04
Adam Roderick J10-Jan-10 23:04 
AnswerRe: creating simple dilog box without using resource script Pin
Nelek10-Jan-10 23:54
protectorNelek10-Jan-10 23:54 
AnswerRe: creating simple dilog box without using resource script Pin
KingsGambit11-Jan-10 0:55
KingsGambit11-Jan-10 0:55 
Questioncreating modless dialog box dynamically Pin
kir_MFC10-Jan-10 20:25
kir_MFC10-Jan-10 20:25 
AnswerRe: creating modless dialog box dynamically Pin
«_Superman_»10-Jan-10 20:27
professional«_Superman_»10-Jan-10 20:27 
QuestionInternetOpenUrl - urgent help needed Pin
YaronNir10-Jan-10 20:13
YaronNir10-Jan-10 20:13 
AnswerRe: InternetOpenUrl - urgent help needed Pin
«_Superman_»10-Jan-10 20:16
professional«_Superman_»10-Jan-10 20:16 
GeneralRe: InternetOpenUrl - urgent help needed Pin
YaronNir10-Jan-10 20:20
YaronNir10-Jan-10 20:20 

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.