Click here to Skip to main content
15,894,343 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Bioinformatic algorithms Pin
Nathan Addy29-Mar-07 21:23
Nathan Addy29-Mar-07 21:23 
GeneralRe: Bioinformatic algorithms Pin
MikeMarq30-Mar-07 19:45
MikeMarq30-Mar-07 19:45 
AnswerRe: Bioinformatic algorithms Pin
DavidNohejl20-Mar-07 23:00
DavidNohejl20-Mar-07 23:00 
QuestionSearch algorithm Pin
N a v a n e e t h16-Mar-07 2:48
N a v a n e e t h16-Mar-07 2:48 
AnswerRe: Search algorithm Pin
CPallini16-Mar-07 3:00
mveCPallini16-Mar-07 3:00 
AnswerRe: Search algorithm Pin
joon vh.19-Mar-07 3:36
joon vh.19-Mar-07 3:36 
QuestionPlease tell me about dithering. How can I change color depth of bmp 24 bits to bmp 4 bits? Pin
FlytotheBluesky14-Mar-07 18:13
FlytotheBluesky14-Mar-07 18:13 
AnswerRe: Please tell me about dithering. How can I change color depth of bmp 24 bits to bmp 4 bits? Pin
RabidHamster17-Mar-07 18:52
RabidHamster17-Mar-07 18:52 
A simple, efficient, and effective solution is error diffusion. The idea is to find the error between the color you want and the color you can produce. You move that error into neighboring pixels. The error accumulates until it reaches the threshold for the next representable color. The effect is surprisingly good.

The algorithm as documented is good for one dimension of color (monochrome). The full color spectrum has three dimensions, so you'll have to apply error diffusion on all three individually. Try it with the red, green, and blue values and see how it works out. If that doesn't look good enough, post again and I'll dig up my HLS color code.
AnswerRe: Please tell me about dithering. How can I change color depth of bmp 24 bits to bmp 4 bits? Pin
Rilhas19-May-07 10:11
Rilhas19-May-07 10:11 
QuestionWeighted Decision Pin
Mark J. Miller14-Mar-07 8:56
Mark J. Miller14-Mar-07 8:56 
AnswerRe: Weighted Decision Pin
Dan Neely14-Mar-07 9:55
Dan Neely14-Mar-07 9:55 
GeneralRe: Weighted Decision Pin
Mark J. Miller14-Mar-07 9:59
Mark J. Miller14-Mar-07 9:59 
GeneralRe: Weighted Decision Pin
Mark J. Miller14-Mar-07 10:18
Mark J. Miller14-Mar-07 10:18 
QuestionPi Day Pin
ricecake14-Mar-07 3:32
ricecake14-Mar-07 3:32 
AnswerRe: Pi Day Pin
Shog914-Mar-07 5:03
sitebuilderShog914-Mar-07 5:03 
GeneralRe: Pi Day Pin
ricecake14-Mar-07 5:08
ricecake14-Mar-07 5:08 
AnswerRe: Pi Day Pin
Dan Neely14-Mar-07 5:15
Dan Neely14-Mar-07 5:15 
QuestionMatlab help Pin
ashee rai11-Mar-07 14:40
ashee rai11-Mar-07 14:40 
QuestionWMP Visualization help Pin
XTAL2569-Mar-07 23:34
XTAL2569-Mar-07 23:34 
AnswerRe: WMP Visualization help Pin
Luc Pattyn9-Mar-07 23:41
sitebuilderLuc Pattyn9-Mar-07 23:41 
GeneralRe: WMP Visualization help Pin
XTAL25610-Mar-07 0:33
XTAL25610-Mar-07 0:33 
GeneralRe: WMP Visualization help Pin
Luc Pattyn10-Mar-07 13:25
sitebuilderLuc Pattyn10-Mar-07 13:25 
GeneralRe: WMP Visualization help Pin
XTAL25610-Mar-07 22:25
XTAL25610-Mar-07 22:25 
GeneralRe: WMP Visualization help Pin
Luc Pattyn10-Mar-07 23:08
sitebuilderLuc Pattyn10-Mar-07 23:08 
GeneralRe: WMP Visualization help Pin
XTAL25611-Mar-07 16:27
XTAL25611-Mar-07 16: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.