Click here to Skip to main content
15,889,335 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Space complexity Pin
kabirbdboy22-Aug-09 20:43
kabirbdboy22-Aug-09 20:43 
QuestionSkin color detection help me Pin
kabirbdboy19-Aug-09 6:56
kabirbdboy19-Aug-09 6:56 
AnswerRe: Skin color detection help me Pin
Tim Craig19-Aug-09 13:58
Tim Craig19-Aug-09 13:58 
GeneralRe: Skin color detection help me Pin
kabirbdboy19-Aug-09 14:03
kabirbdboy19-Aug-09 14:03 
GeneralRe: Skin color detection help me Pin
Tim Craig19-Aug-09 20:43
Tim Craig19-Aug-09 20:43 
GeneralRe: Skin color detection help me Pin
Tim Craig21-Aug-09 14:28
Tim Craig21-Aug-09 14:28 
GeneralRe: Skin color detection help me Pin
kabirbdboy22-Aug-09 19:34
kabirbdboy22-Aug-09 19:34 
GeneralRe: Skin color detection help me Pin
Tim Craig22-Aug-09 21:27
Tim Craig22-Aug-09 21:27 
Yes, the intent seems to be to leave the parts of the picture that are skin unchanged and turn everything else black.

The part you question appears to be some attempt to get rid of isolated pixels that might be noise. If a pixel is nonzero but has a zero neighbor, set it to zero. But as I said, using that to alter, or not, bmpdata1 makes absolutely no sense what so ever.

The Erode and Dilate functions at the end also do that to an extent, too.

Whoever wrote this turkey was clueless. I searched and the only place I found it was an earlier post here on CP. Is that where you found it?

You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

GeneralRe: Skin color detection help me Pin
kabirbdboy23-Aug-09 4:04
kabirbdboy23-Aug-09 4:04 
GeneralRe: Skin color detection help me Pin
Tim Craig23-Aug-09 7:57
Tim Craig23-Aug-09 7:57 
AnswerRe: Skin color detection help me Pin
arunkamaraj20-Jan-10 19:27
arunkamaraj20-Jan-10 19:27 
QuestionMD5CryptoServiceProvider's ComputeHash doesn't match (x86 vs x64)? Pin
francoisdotnet18-Aug-09 6:13
francoisdotnet18-Aug-09 6:13 
GeneralRe: <object>.GetHashCode doesn't match (x86 vs x64)? [modified]</object> Pin
francoisdotnet18-Aug-09 21:22
francoisdotnet18-Aug-09 21:22 
GeneralRe: .GetHashCode doesn't match (x86 vs x64)? Pin
supercat919-Aug-09 6:44
supercat919-Aug-09 6:44 
GeneralRe: .GetHashCode doesn't match (x86 vs x64)? Pin
francoisdotnet19-Aug-09 10:46
francoisdotnet19-Aug-09 10:46 
GeneralRe: .GetHashCode doesn't match (x86 vs x64)? Pin
supercat919-Aug-09 14:34
supercat919-Aug-09 14:34 
GeneralRe: .GetHashCode doesn't match (x86 vs x64)? Pin
francoisdotnet19-Aug-09 20:43
francoisdotnet19-Aug-09 20:43 
AnswerRe: MD5CryptoServiceProvider's ComputeHash doesn't match (x86 vs x64)? Pin
Luc Pattyn20-Aug-09 0:49
sitebuilderLuc Pattyn20-Aug-09 0:49 
QuestionVariable Depth For Loop to create a number sequence... Pin
Aaron @ Think Software17-Aug-09 14:46
professionalAaron @ Think Software17-Aug-09 14:46 
Answer[CrossPost] Variable Depth For Loop to create a number sequence... Pin
Scott Dorman17-Aug-09 15:35
professionalScott Dorman17-Aug-09 15:35 
AnswerRe: Variable Depth For Loop to create a number sequence... Pin
Alan Balkany18-Aug-09 9:44
Alan Balkany18-Aug-09 9:44 
Questiontree recursive traversing . Pin
devboycpp15-Aug-09 5:18
devboycpp15-Aug-09 5:18 
AnswerRe: tree recursive traversing . Pin
Moreno Airoldi15-Aug-09 7:28
Moreno Airoldi15-Aug-09 7:28 
QuestionRegarding time complexity Pin
kirancgi14-Aug-09 1:04
kirancgi14-Aug-09 1:04 
AnswerRe: Regarding time complexity [modified] Pin
Moreno Airoldi14-Aug-09 7:27
Moreno Airoldi14-Aug-09 7:27 

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.