ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/normtiff.1
Revision: 1.6
Committed: Thu Jun 23 18:05:18 2011 UTC (13 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2, rad4R2P2, rad5R0, rad5R1, rad4R2, rad4R1, rad4R2P1, rad5R3
Changes since 1.5: +1 -0 lines
Log Message:
Created pkgBSDF program

File Contents

# Content
1 .\" RCSid $Id$
2 .TH NORMTIFF 1 2/25/99 RADIANCE
3 .SH NAME
4 normtiff - tone-map and convert RADIANCE picture or HDR TIFF to standard TIFF
5 .SH SYNOPSIS
6 .B normtiff
7 [
8 .B options
9 ]
10 .B input
11 .B output.tif
12 .SH DESCRIPTION
13 .I Normtiff
14 prepares a Radiance picture or high dynamic-range TIFF
15 for output to a display or hard copy device.
16 If the dynamic range of the scene exceeds that of the display (as is
17 usually the case),
18 .I normtiff
19 will compress the dynamic range of the picture such that both
20 dark and bright regions are visible.
21 In addition, certain limitations in human vision may be mimicked in
22 order to provide an appearance similar to the experience one might
23 have in the actual scene.
24 .PP
25 Output is always an uncompressed RGB TIFF, which must be named
26 on the command line along with the input file.
27 If the input file has a ".tif" or ".tiff" extension,
28 .I normtiff
29 attempts to read it as a TIFF.
30 Otherwise,
31 .I normtiff
32 first tries opening it as a RADIANCE picture, only opening it
33 as a TIFF if it fails header inspection.
34 (See the
35 .I getinfo(1)
36 program.)\0
37 If the input is neither a RADIANCE picture nor a high dynamic-range TIFF,
38 the program reports an error and exits.
39 .PP
40 The following command line options are understood.
41 Since this program is very similar to
42 .I pcond(1),
43 several of the switches are identical.
44 .TP 10n
45 .BR -b
46 Toggle 8-bit black and white (grayscale) TIFF output.
47 If the input is a grayscale TIFF, this switch is
48 automatically selected.
49 Otherwise, the output defaults to 24-bit RGB.
50 .TP
51 .BR -z
52 Output LZW-compressed TIFF (smaller file).
53 .TP
54 .BR -h
55 Mimic human visual response in the output.
56 The goal of this process is to produce output that correlates
57 strongly with a person's subjective impression of a scene.
58 This switch turns on both the
59 .I \-s
60 and
61 .I \-c
62 switches, described below.
63 .TP
64 .BR -s
65 Toggle the use of the human contrast sensitivity function in determining the
66 exposure for the image.
67 A darker scene will have relatively lower exposure with lower
68 contrast than a well-lit scene.
69 .TP
70 .BR -c
71 Toggle mesopic color correction.
72 If parts of the image are in the mesopic or scotopic range where
73 the cone photoreceptors lose their efficiency, this switch will
74 cause a corresponding loss of color visibility in the output and a
75 shift to a scotopic (blue-dominant) response function.
76 .TP
77 .BR -l
78 Toggle the use of a linear response function versus the standard dynamic
79 range compression algorithm.
80 This may make some parts of the resulting image too
81 dark or too bright to see.
82 .TP
83 .BI -u \ Ldmax
84 Specifies the top of the luminance range for the target output device.
85 That is, the luminance (in candelas/m^2) for an output pixel value
86 of (R,G,B)=(255,255,255).
87 This parameter affects tone mapping only when the
88 .I \-s
89 switch is on.
90 The default value is 100 cd/m^2.
91 .TP
92 .BI -d \ Lddyn
93 Specifies the dynamic range for the target output device, which is
94 the ratio of the maximum and minimum usable display luminances.
95 The default value is 32, which is typical for CRT monitors.
96 .TP
97 .BI -p " xr yr xg yg xb yb xw yw"
98 Specifies the RGB primaries for the target output device.
99 These are the 1931 CIE (x,y) chromaticity values for red, green,
100 blue and white, respectively.
101 .TP
102 .BI -g \ gamma
103 Specifies the output device gamma correction value.
104 The default value is 2.2, which is appropriate for most CRT monitors.
105 (A value of 1.8 is common in color prepress and color printers.)\0
106 .SH EXAMPLES
107 To convert a RADIANCE picture to an 8-bit grayscale TIFF:
108 .IP "" .2i
109 normtiff \-b scene.hdr sceneb.tif
110 .PP
111 To condition a high dynamic-range TIFF for a particular film recorder with
112 known color primaries, dynamic range and gamma response:
113 .IP "" .2i
114 pcond \-d 50 \-g 2.5 \-p .580 .340 .281 .570 .153 .079 .333 .333 orig.tif filmrgb.tif
115 .PP
116 To simulate human visual response on a monitor with known maximum luminance:
117 .IP "" .2i
118 normtiff \-h \-u 80 scene.hdr sceneh.tif
119 .SH REFERENCE
120 Greg Ward Larson, Holly Rushmeier, Christine Piatko,
121 ``A Visibility Matching Tone Reproduction Operator for High Dynamic Range
122 Scenes,''
123 .I "IEEE Transactions on Visualization and Computer Graphics",
124 December 1997.
125 .PP
126 http://positron.cs.berkeley.edu/gwlarson/pixformat/
127 .SH AUTHOR
128 Greg Ward Larson
129 .SH ACKNOWLEDGMENT
130 This work was supported by Silicon Graphics, Inc.
131 .SH "SEE ALSO"
132 getinfo(1), pcond(1), pflip(1),
133 pvalue(1), protate(1), ra_xyze(1), rpict(1), ximage(1)