Re: Dithering using windows palette (16 colors)



4N wrote:
"bugbear" <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio news:zamdnQU7iIBHHXHVnZ2dnUVZ8t7inZ2d@xxxxxxxxxxxxxxxxx
4N wrote:
"bugbear" <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio news:cJ6dnfnyCc0Vt3bVnZ2dnUVZ8s3inZ2d@xxxxxxxxxxxxxxxxx
I suggested:
case (A) dither a large image, sub sample by (e.g.) 8
case (B) subsample the same large image by (e.g.) 8
compare the result of (A) and (B).

well, obviously there is some desaturated area...
but my code is organized so that only the generator of the palette changes, so actually the code of the dithering is the same and only the content of the palette is changed (its colors).
When I use median cut everything is fine, the problems arise only when I fill the palette with the colors of the windows palette.

Over a sufficiently large area (the point of my subsampling in the check
I propose) any accurate implementation of error diffusion dithering should work,
as long as the pallette has examples of the color space extremes.

Obviously (?) if the pallette doesn't contain (e.g.) a fully saturated
blue, a fully saturated blue input cannot be handled.

BugBear
.



Relevant Pages

  • Re: Animated GIFs
    ... > palette trying to span the colour cube uniformly. ... > dithering instead of error diffusion - that would make sure that equal ... > colours are represented in the same way in each frame. ... >> Is there a package that allows image manipulation on all the frames at ...
    (comp.sys.acorn.apps)
  • Arbitrary palette dithering (Was: Re: MMX speedup for Floyd Steinberg error diffusion)
    ... of dithering a picture using an ordered matrix ... using an ordered matrix but fitting to an arbitrary palette. ... This sounds sort of like the problem they had in the old days when people would print b&w images on a line printer by mapping grey levels to each of the ascii/ebcdiic letters available. ... It sounds like the error diffusion is constrained to stay within a given small subarray, like 4x4, instead of potentially propagating around the entire image? ...
    (comp.lang.asm.x86)
  • Re: Animated GIFs
    ... >> colour variable palette modes, they all use 16M colours now. ... >> and should appear approximately the same as the original image, ... >> with a noticable degree of dithering. ... I notice that the dithering changes from frame to frame, ...
    (comp.sys.acorn.apps)
  • Re: MMX speedup for Floyd Steinberg error diffusion
    ... with each entry being the start of a list of all the ... then reduce the palette using a pairwise clustering algorithm. ... of dithering a picture using an ordered matrix ... using an ordered matrix but fitting to an arbitrary palette. ...
    (comp.lang.asm.x86)