Click here to Skip to main content
16,021,172 members
Home / Discussions / Algorithms
   

Algorithms

 
Generalhelp regarding the flood fill algorithm Pin
niconicx11-Sep-08 13:30
niconicx11-Sep-08 13:30 
GeneralRe: help regarding the flood fill algorithm Pin
Chris Losinger11-Sep-08 14:54
professionalChris Losinger11-Sep-08 14:54 
GeneralRe: help regarding the flood fill algorithm Pin
niconicx11-Sep-08 18:15
niconicx11-Sep-08 18:15 
Questionresearching Pin
nelsonpaixao9-Sep-08 14:53
nelsonpaixao9-Sep-08 14:53 
AnswerRe: researching Pin
Paul Conrad10-Sep-08 15:19
professionalPaul Conrad10-Sep-08 15:19 
GeneralRe: researching Pin
nelsonpaixao11-Sep-08 14:19
nelsonpaixao11-Sep-08 14:19 
Questionhigh-contrast color array generation Pin
followait4-Sep-08 23:25
followait4-Sep-08 23:25 
AnswerRe: high-contrast color array generation Pin
Alan Balkany8-Sep-08 5:51
Alan Balkany8-Sep-08 5:51 
You want to choose red, green, and blue levels as points in a three-dimensional space that are as far apart as possible. This space is a 3D array where each index goes from 0 to 255.

There is also a perceptual component to this problem; a person's perception of color levels is not linear with respect to the numeric indexes. For example, changing from red 20 to red 30 may be perceived as a much different increment than changing from red 120 to red 130.

So one approach is to use the geometric approach to suggest colors that are different, present them to the user, and allow the user to select the colors that are used. An enhancement would be to allow the user to "edit" the color presented to increase the difference to the colors already selected.
GeneralRe: high-contrast color array generation Pin
uusheikh10-Sep-08 15:00
uusheikh10-Sep-08 15:00 
AnswerRe: high-contrast color array generation Pin
Russell'12-Sep-08 1:23
Russell'12-Sep-08 1:23 
QuestionSetting up a shared key logon to a website Pin
1stfreedom3-Sep-08 6:55
1stfreedom3-Sep-08 6:55 
AnswerRe: Setting up a shared key logon to a website Pin
Alan Balkany8-Sep-08 6:02
Alan Balkany8-Sep-08 6:02 
QuestionEstimating time of completion of a data migration process Pin
tufkap1-Sep-08 1:22
tufkap1-Sep-08 1:22 
AnswerRe: Estimating time of completion of a data migration process Pin
Tim Craig1-Sep-08 19:27
Tim Craig1-Sep-08 19:27 
GeneralRe: Estimating time of completion of a data migration process Pin
tufkap2-Sep-08 4:54
tufkap2-Sep-08 4:54 
AnswerRe: Estimating time of completion of a data migration process Pin
Alan Balkany8-Sep-08 6:07
Alan Balkany8-Sep-08 6:07 
GeneralRe: Estimating time of completion of a data migration process Pin
tufkap9-Sep-08 0:31
tufkap9-Sep-08 0:31 
QuestionEuqtion of spline thru n points Pin
raesa31-Aug-08 23:13
raesa31-Aug-08 23:13 
AnswerRe: Euqtion of spline thru n points Pin
Tim Craig1-Sep-08 19:56
Tim Craig1-Sep-08 19:56 
GeneralRe: Euqtion of spline thru n points Pin
raesa1-Sep-08 23:37
raesa1-Sep-08 23:37 
AnswerRe: Euqtion of spline thru n points Pin
Alan Balkany8-Sep-08 5:55
Alan Balkany8-Sep-08 5:55 
GeneralRe: Euqtion of spline thru n points Pin
raesa11-Sep-08 17:37
raesa11-Sep-08 17:37 
QuestionPredict next colour Pin
3fraction31-Aug-08 8:24
3fraction31-Aug-08 8:24 
AnswerRe: Predict next colour Pin
Alan Balkany8-Sep-08 5:44
Alan Balkany8-Sep-08 5:44 
GeneralRe: Predict next colour Pin
3fraction8-Sep-08 7:27
3fraction8-Sep-08 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.