NORMTIFF(1)                                                        NORMTIFF(1)



NNAAMMEE
       normtiff  -  tone-map and convert RADIANCE picture or HDR TIFF to stan-
       dard TIFF

SSYYNNOOPPSSIISS
       nnoorrmmttiiffff [ ooppttiioonnss ] iinnppuutt oouuttppuutt..ttiiff

DDEESSCCRRIIPPTTIIOONN
       _N_o_r_m_t_i_f_f prepares a Radiance picture or  high  dynamic-range  TIFF  for
       output  to  a display or hard copy device.  If the dynamic range of the
       scene exceeds that of the display (as is usually  the  case),  _n_o_r_m_t_i_f_f
       will  compress the dynamic range of the picture such that both dark and
       bright regions are visible.  In addition, certain limitations in  human
       vision may be mimicked in order to provide an appearance similar to the
       experience one might have in the actual scene.

       Output is always an uncompressed RGB TIFF, which must be named  on  the
       command line along with the input file.  If the input file has a ".tif"
       or ".tiff" extension, _n_o_r_m_t_i_f_f attempts to read it as a  TIFF.   Other-
       wise, _n_o_r_m_t_i_f_f first tries opening it as a RADIANCE picture, only open-
       ing it as a TIFF if it fails header inspection.   (See  the  _g_e_t_i_n_f_o_(_1_)
       program.)   If  the  input  is  neither  a  RADIANCE picture nor a high
       dynamic-range TIFF, the program reports an error and exits.

       The following command line options are understood.  Since this  program
       is very similar to _p_c_o_n_d_(_1_)_, several of the switches are identical.

       --bb        Toggle 8-bit black and white (grayscale) TIFF output.  If the
                 input is a  grayscale  TIFF,  this  switch  is  automatically
                 selected.  Otherwise, the output defaults to 24-bit RGB.

       --zz        Output LZW-compressed TIFF (smaller file).

       --hh        Mimic  human visual response in the output.  The goal of this
                 process is to produce output that correlates strongly with  a
                 person's subjective impression of a scene.  This switch turns
                 on both the _-_s and _-_c switches, described below.

       --ss        Toggle the use of the human contrast sensitivity function  in
                 determining  the exposure for the image.  A darker scene will
                 have relatively lower exposure with  lower  contrast  than  a
                 well-lit scene.

       --cc        Toggle  mesopic  color correction.  If parts of the image are
                 in the mesopic or scotopic range where the  cone  photorecep-
                 tors  lose  their efficiency, this switch will cause a corre-
                 sponding loss of color visibility in the output and  a  shift
                 to a scotopic (blue-dominant) response function.

       --ll        Toggle the use of a linear response function versus the stan-
                 dard dynamic range compression algorithm.  This may make some
                 parts of the resulting image too dark or too bright to see.

       --uu _L_d_m_a_x  Specifies  the top of the luminance range for the target out-
                 put device.  That is, the luminance (in candelas/m^2) for  an
                 output  pixel value of (R,G,B)=(255,255,255).  This parameter
                 affects tone mapping only when the  _-_s  switch  is  on.   The
                 default value is 100 cd/m^2.

       --dd _L_d_d_y_n  Specifies  the  dynamic  range  for the target output device,
                 which is the ratio of the maximum and minimum usable  display
                 luminances.   The  default  value is 32, which is typical for
                 CRT monitors.

       --pp _x_r _y_r _x_g _y_g _x_b _y_b _x_w _y_w
                 Specifies the RGB primaries for  the  target  output  device.
                 These  are  the  1931  CIE (x,y) chromaticity values for red,
                 green, blue and white, respectively.

       --gg _g_a_m_m_a  Specifies the output  device  gamma  correction  value.   The
                 default value is 2.2, which is appropriate for most CRT moni-
                 tors.  (A value of 1.8 is common in color prepress and  color
                 printers.)

EEXXAAMMPPLLEESS
       To convert a RADIANCE picture to an 8-bit grayscale TIFF:

         normtiff -b scene.hdr sceneb.tif

       To  condition  a high dynamic-range TIFF for a particular film recorder
       with known color primaries, dynamic range and gamma response:

         pcond -d 50 -g 2.5 -p  .580  .340  .281  .570  .153  .079  .333  .333
         orig.tif filmrgb.tif

       To simulate human visual response on a monitor with known maximum lumi-
       nance:

         normtiff -h -u 80 scene.hdr sceneh.tif

RREEFFEERREENNCCEE
       Greg Ward Larson, Holly Rushmeier,  Christine  Piatko,  ``A  Visibility
       Matching  Tone  Reproduction  Operator for High Dynamic Range Scenes,''
       _I_E_E_E _T_r_a_n_s_a_c_t_i_o_n_s _o_n _V_i_s_u_a_l_i_z_a_t_i_o_n _a_n_d  _C_o_m_p_u_t_e_r  _G_r_a_p_h_i_c_s  _,  December
       1997.

       http://positron.cs.berkeley.edu/gwlarson/pixformat/

AAUUTTHHOORR
       Greg Ward Larson

AACCKKNNOOWWLLEEDDGGMMEENNTT
       This work was supported by Silicon Graphics, Inc.

SSEEEE AALLSSOO
       getinfo(1),  pcond(1),  pflip(1),  pvalue(1),  protate(1),  ra_xyze(1),
       rpict(1), ximage(1)



RADIANCE                            2/25/99                        NORMTIFF(1)
