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