[EMAIL PROTECTED] on wrote... | > Anyway, attached is a serpentine Floyd-Steinberg implementation. | | The mailing list does not accept attachments, instead e-mail it directly | to this address. | | ImageMagick was originally based on a Floyd-Steinberg implementation | but in our testing we found the Hilbert curve method gave a more | visually pleasing result among a set of test images when we compared | the two methods. Our testing method was to present a set of 25 images | side by side (one the original and one dithered with either Hilbert | or Floyd-Steinberg). The Hilbert dithering was choosen a majority of | the time. Its been about 10 years, so we will revisit the issue when | we receive your patch.
Of course, It would be better to implement BOTH, and then let the user decide rather than just replacing one for another. Thank you for providing code. The most important thing being that a remainer method of distribution be used, so that any integer rounding is taken into account. Your patch does not seem to take that into account. though that is also probably easily fixed. Then again there is a variety of ways of distributing the error than just the Floyd-Steinberg method. It was just the first, and in many papers was not regarded as the best o fthis type. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- In some parts of the city curiosity didn't just kill the cat, It threw it in the river with lead weights tied to its feet. -- Terry Pratchett, "Sourcery" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-developers mailing list Magick-developers@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-developers