Click here to Skip to main content
15,890,741 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDialog Box won't Resize Larger Pin
Tom Hubin4-Jul-09 22:21
Tom Hubin4-Jul-09 22:21 
AnswerRe: Dialog Box won't Resize Larger Pin
PJ Arends5-Jul-09 6:52
professionalPJ Arends5-Jul-09 6:52 
QuestionMemory Issues in developing 64 bit Driver in “Windows 64 bit standard edition” ? Pin
ta_isr4-Jul-09 22:01
ta_isr4-Jul-09 22:01 
QuestionRace Condition Pin
SNI4-Jul-09 20:53
SNI4-Jul-09 20:53 
AnswerRe: Race Condition Pin
killabyte5-Jul-09 1:57
killabyte5-Jul-09 1:57 
AnswerRe: Race Condition Pin
David Crow5-Jul-09 11:53
David Crow5-Jul-09 11:53 
AnswerRe: Race Condition Pin
Alexander M.,6-Jul-09 13:52
Alexander M.,6-Jul-09 13:52 
QuestionPlease help me please Pin
aashu44-Jul-09 20:51
aashu44-Jul-09 20:51 
I need urgent help regarding this.can anyone please convert this algorithm into c++ program.Its very important for me..pleaseee Cry | :((


Staff Removal Algorithm.
procedure
STAFFLINEREMOVAL(IMAGE,STAVES)
threshold = 2∗staffHeight;
tolerance = 1+ceil(staffHeight/3.0);
IMAGE REMOVE = copy(IMAGE);
for nvalid = 0 to STAVES size do
Point2D staff = validStaves[nvalid];
for i = 0 to staff size do
col =staff[i].x;
refRow =staff[i].y;
row = refRow;
pel = valuePixel(IMAGE,IMAGE REMOVE)
decrement/increase the reference row until one
pixel different from white pixel (dist1/dist2) is found;
if dist1 ≤ max(1,min(dist2,tolerance)) then
refRow− = dist1;
else
if dist2 ≤ max(1,min(dist1,tolerance))
then
refRow+ = dist2;
else
continue;
end if
end if
Count the number of decrements/increase on
the reference row until the black pixel changes to white
pixel (run);
if run ≥ threshold then
continue;
end if
remove the vertical black sequences on the IM-
AGE;
end for
end for
end procedure
AnswerRe: Please help me please Pin
molesworth4-Jul-09 22:28
molesworth4-Jul-09 22:28 
GeneralRe: Please help me please Pin
aashu45-Jul-09 4:26
aashu45-Jul-09 4:26 
GeneralRe: Please help me please Pin
Still learning how to code5-Jul-09 5:02
Still learning how to code5-Jul-09 5:02 
GeneralRe: Please help me please Pin
molesworth5-Jul-09 12:39
molesworth5-Jul-09 12:39 
GeneralRe: Please help me please Pin
aashu45-Jul-09 23:58
aashu45-Jul-09 23:58 
GeneralRe: Please help me please Pin
aashu46-Jul-09 0:04
aashu46-Jul-09 0:04 
GeneralRe: Please help me please Pin
molesworth6-Jul-09 1:11
molesworth6-Jul-09 1:11 
Questionbitmap from resource DLL Pin
kiranin4-Jul-09 20:41
kiranin4-Jul-09 20:41 
Questionhow to set mail time Pin
santhosh-padamatinti4-Jul-09 20:28
santhosh-padamatinti4-Jul-09 20:28 
Questionsetting attachment for a message Pin
Pardhu_M4-Jul-09 20:28
Pardhu_M4-Jul-09 20:28 
AnswerRe: setting attachment for a message Pin
Stuart Dootson5-Jul-09 0:25
professionalStuart Dootson5-Jul-09 0:25 
Questionloadbalancing in p2p network Pin
nimmi priya4-Jul-09 19:58
nimmi priya4-Jul-09 19:58 
AnswerRe: loadbalancing in p2p network Pin
Michael Schubert5-Jul-09 3:29
Michael Schubert5-Jul-09 3:29 
Questionstabilization test of API generated exe programme Pin
adeshayee4-Jul-09 18:25
adeshayee4-Jul-09 18:25 
AnswerRe: stabilization test of API generated exe programme Pin
PJ Arends4-Jul-09 20:01
professionalPJ Arends4-Jul-09 20:01 
GeneralRe: stabilization test of API generated exe programme Pin
adeshayee5-Jul-09 6:28
adeshayee5-Jul-09 6:28 
QuestionMS Detours Pin
Mohanned4-Jul-09 12:47
Mohanned4-Jul-09 12:47 

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.