teem-overrgb(1)

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"

-g <gamma> = gamma to apply to image data, after contrast (double);

default: "1.0"

-b <background> = background color to composite against; white is 1 1 1,

not 255 255 255. (3 doubles); default: "0 0 0"

-bi <nbg> = 8-bit RGB background image to composite against (nrrd);

default: ""

-o <filename> = file to write output PPM image to (string)

Releases

Unchanged in 7 releases since Debian 6.0 (Squeeze).

  1. 6.0–13

From teem-apps 1.12.0~20160122-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.