Ignore:
Timestamp:
Aug 4, 2008, 11:50:02 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • dbs.c: generate the initial halftone using random dithering instead of Floyd-Steinberg in order to avoid the energy level getting locally stuck around error diffusion structure artifacts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/dither/dbs.c

    r2670 r2672  
    7777    tmp1data = (float *)tmp1p->pixels;
    7878
    79     dst = pipi_dither_floydsteinberg(src, PIPI_SCAN_SERPENTINE);
     79    dst = pipi_dither_random(src);
    8080    dstp = pipi_getpixels(dst, PIPI_PIXELS_Y_F);
    8181    dstdata = (float *)dstp->pixels;
Note: See TracChangeset for help on using the changeset viewer.