pextrem(1)

pextrem1

Find minimum and maximum values in radiance picture

Usage

pextrem [-o] [picture]

Overview

Pextrem locates the minimum and maximum values for the input picture, and prints their pixel locations and color values. The first line printed contains the x and y pixel location (x measured from the left margin, y measured from the bottom), followed by the red, green and blue values. The second line printed contains the same information for the maximum value.

The -o option prints the original (radiance) values, undoing any exposure or color correction done on the picture.

If no input picture is given, the standard input is read.

Releases

Unchanged in 3 releases since Debian 5.0 (Lenny).

  1. 5.0–7

Author

Greg Ward

Bugs

The luminance value is used for comparison of pixels, although in certain anomolous cases (ie. highly saturated colors) it is possible that pextrem will not pick the absolute minimum or maximum luminance value. This is because a fast integer-space comparison is used. A more reliable floating-point comparison would be slower by an order of magnitude.

From radiance 4R1+20120125-1+b1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.