teem-overrgb1
Composites an rgba nrrd over a background color.
Usage
teem-overrgb -i
<nin>
[-c
<contrast>]
[-cfp
<fixed
point>]
\fR
Overview
./teem-overrgb: Composites an RGBA nrrd over a background color (or image), after doing gamma correction, then quantizes to an 8-bit image. Actually, the input nrrd can have more than 4 values per pixel, but only the first four are used. If the RGBA nrrd is floating point, the values are taken at face value; if it is fixed point, the values interpreted as having been quantized (so that 8-bit RGBA images will act as you expect). When compositing with a background image, the given background image does not have to be the same size as the input image; it will be resampled (with linear interpolation) to fit.
-
[-g <gamma>] [-b <background>] [-bi <nbg>]
-o<filename>
-i <nin> = input nrrd to composite (nrrd)
-c<contrast> = contrast to apply to RGB values, before gamma. "0.0"-
means no change, "1.0" means thresholding, "-1.0" means a complete washout. (double); default: "0.0"
-cfp <fixed point> = component level that doesn't change with contrast
|
(double); default: "0.5" |
|
|
default: "1.0" |
|
not 255 255 255. (3 doubles); default: "0 0 0" |
|
default: "" |
-o <filename> = file to write output PPM image to (string)
Releases
Unchanged in 7 releases since Debian 6.0 (Squeeze).