[comp.sys.mac.programmer] median cut algorithm on mac

zahra@wolfen.cc.uow.oz (Andrew Zahra Telecom) (08/08/90)

	Has anyone ever implemented the median cut algorithm for colour table
selection on a mac? I have had a feeble attempt but without much success.

	I have a colour capture card which produces an image with 15 bits per
pixel. Using a simple quantization technique of taking the high 3 red and green
bits plus the high 2 blue bits with an arbitrary colour table produces a rather
poor image. So I need a better method of quantization.

	Any info appreciated.


	Andrew