PEXTREM(1)                                                          PEXTREM(1)



NNAAMMEE
       pextrem - find minimum and maximum values in RADIANCE picture

SSYYNNOOPPSSIISS
       ppeexxttrreemm [ --oo ] [ picture ]

DDEESSCCRRIIPPTTIIOONN
       _P_e_x_t_r_e_m  locates  the minimum and maximum values for the input _p_i_c_t_u_r_e_,
       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  expo-
       sure or color correction done on the picture.

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

AAUUTTHHOORR
       Greg Ward

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

SSEEEE AALLSSOO
       falsecolor(1), getinfo(1), pcomb(1), pcompos(1), pextrem(1),  pfilt(1),
       pflip(1), protate(1), psign(1), rpict(1), ximage(1)



RADIANCE                           11/15/93                         PEXTREM(1)
