Grayscale to binary image conversion
The reason for zigzagging is to avoid the artifact you've got in the top-left corner of your monochrome image; where there's no visible dithering for a fair while, because the algorithm hasn't yet accumulated enough error to dither properly.
Well, I've implemented Floyd-Steinberg, Stucki, Sierra 3 and Ninke and I noticed that this zig-zag movement that should be done destroys the image totally.
Thanks for all replies, they were a great aid!
It's a shame, but I don't know how to do that:
I get my image in two-dimmensional array and I want to save it as a .bmp file, but CreateBitmap function gives me a hard time... How should I do that?
[Edited by - wlw_wl on May 16, 2008 7:40:48 PM]
Thanks for all replies, they were a great aid!
It's a shame, but I don't know how to do that:
I get my image in two-dimmensional array and I want to save it as a .bmp file, but CreateBitmap function gives me a hard time... How should I do that?
[Edited by - wlw_wl on May 16, 2008 7:40:48 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement