[comp.graphics] Software for 24-bit Color to 8-bit, Peano Curve

richr@ai.etl.army.mil (Richard Rosenthal) (05/20/88)

<This package sold by weight not volume.>

Does someone have software to run under Unix preferably written in C
to convert RGB 24-bit images to 8-bit or 12-bit image with color
lookup table using peano curve algorithm?

If yes, can I get the software?

-- 
Richard Rosenthal                            | ARPANET:  richr@etl.arpa
US Army Engineer Topographic Laboratories    | UUCP:     (use ARPANET)
Ft. Belvoir, VA 22060-5546                   | PHONE:    +1 202 355 2830

bcorrie@uvicctr.UUCP (Brian Corrie) (05/20/88)

In article <93@ai.etl.army.mil> richr@ai.etl.army.mil. (Richard Rosenthal) writes:
>Does someone have software to run under Unix preferably written in C
>to convert RGB 24-bit images to 8-bit or 12-bit image with color
>lookup table using peano curve algorithm?
>
>If yes, can I get the software?
>
>-- 
>Richard Rosenthal                            | ARPANET:  richr@etl.arpa
>US Army Engineer Topographic Laboratories    | UUCP:     (use ARPANET)
>Ft. Belvoir, VA 22060-5546                   | PHONE:    +1 202 355 2830

This isn't a solution to your request, but a request of my own.
Could someone point me to good sources of information on converting
n bit images to m bit images ( m < n ). I have never heard of the
peano curve algorithm.

Thanks in advance,

paul@hpldola.HP.COM (Paul Bame) (05/25/88)

>  bcorrie@uvicctr.UUCP (Brian Corrie) / 10:03 am  May 20, 1988 /
> 
> This isn't a solution to your request, but a request of my own.
> Could someone point me to good sources of information on converting
> n bit images to m bit images ( m < n ). I have never heard of the
> peano curve algorithm.
> 
I've had good luck with both ordered dithering and dithering by error
propagation (sorry, can't remember the reference) - the latter having
been discussed at length in this group not long ago.  I've used the first
method for both 8->1 and 8->4 bit conversions and the latter for 8->1
and some rudimentary color dithering (8->?).  Check out dithering in
the literature.  If you come up dry, drop me a line.


		--Paul Bame
		hplabs!hpldola!paul