home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Assembler / dse-src3.dms / in.adf / Source / Vectors / Dithering / DitherText.lha / DitherNoise.txt < prev   
Encoding:
Internet Message Format  |  1993-01-06  |  1.2 KB

  1. From: lou@aramis.rutgers.edu (Lou Steinberg)
  2. Newsgroups: comp.graphics
  3. Subject: Re: Advanced Dither Needed
  4. Date: 11 Jan 88 04:46:33 GMT
  5. Organization: Rutgers Univ., New Brunswick, N.J.
  6.  
  7. In article <2741@masscomp.UUCP> garyo@masscomp.UUCP (Gary Oberbrunner) writes:
  8.  
  9. > [for] Floyd & Steinberg's dithering algorithm [...]
  10. > On some images it can help to add some random noise; for instance if you
  11. > have a smooth (flat-shaded) surface that's just below one of the colors in
  12. > the map, the error will build up slowly until you get a line of brighter
  13. > color somewhere in the surface.  A bit o' noise gets rid of that line nicely.
  14.  
  15. The other way to get rid of it is to alternate scanning left to right
  16. and right to left, i.e. even scan lines one way, odd scan lines the
  17. other.  The line of brighter color essentially comes because pixels on
  18. that line do not communicate - there is no path for the error value at
  19. one to affect the value chosen for the other.  By scanning in a zig
  20. zag fashion, you ensure that each pixel communicates with every other
  21. pixel scanned after it.
  22. -- 
  23.                     Lou Steinberg
  24.  
  25. uucp:   {pretty much any major site}!rutgers!aramis.rutgers.edu!lou 
  26. arpa:   lou@aramis.rutgers.edu
  27.