Pink 0.9
|
converts a ppm color file to hls representation More...
converts a ppm color file to hls representation
Usage: in.ppm [mode] h.pgm l.pgm s.pgm
Description: Constructs 3 pgm files from 1 ppm file:
Different modes are available [default mode is 0]:
[1] Foley, Van Damm & al: "Computer Graphics", 2nd ed., p. 595
[2] J. Angulo and J. Serra. "Traitements des images de couleur en représentation luminance/saturation/teinte par norme L_1" (in French). Traitement du Signal, Vol. 21, No. 6, pp 583-604, December 2004.
Types supported: byte 2d
Category: convert