ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/falsecolor.1
Revision: 1.10
Committed: Thu Apr 4 02:59:20 2013 UTC (12 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.9: +9 -3 lines
Log Message:
Axel Jacobs added -pal eco option to falsecolor

File Contents

# User Rev Content
1 greg 1.10 .\" RCSid "$Id: falsecolor.1,v 1.9 2012/01/18 00:30:35 greg Exp $"
2 greg 1.9 .TH "FALSECOLOR" "1" "12/12/11" "RADIANCE" ""
3     .SH "NAME"
4     falsecolor \- make a false color RADIANCE picture
5     .SH "SYNOPSIS"
6 greg 1.1 .B falsecolor
7     [
8     .B "\-i input"
9     ][
10     .B "\-p picture"
11     ][
12 greg 1.9 .B "\-cb | \-cl | \-cp"
13 greg 1.1 ][
14     .B \-e
15     ][
16     .B "\-s scale"
17     ][
18     .B "\-l label"
19     ][
20     .B "\-n ndivs"
21     ][
22 greg 1.3 .B "\-lw lwidth"
23     ][
24     .B "\-lh lheight"
25     ][
26 greg 1.1 .B "\-log decades"
27     ][
28     .B "\-m mult"
29     ][
30 greg 1.7 .B "\-pal palette"
31 greg 1.4 ][
32 greg 1.1 .B "\-r redv"
33     ][
34     .B "\-g grnv"
35     ][
36     .B "\-b bluv"
37     ]
38 greg 1.9
39     .B falsecolor \-palettes
40     .SH "DESCRIPTION"
41 greg 1.1 .I Falsecolor
42     produces a false color picture for lighting analysis.
43     Input is a rendered Radiance picture.
44 greg 1.9 .PP
45     By default, luminance is displayed on a linear scale from 0 to 1000 cd/m2, where
46     dark areas are purple and brighter areas move through blue, green, red to yellow.
47 greg 1.1 A different scale can be given with the
48     .I \-s
49     option.
50 greg 1.4 If the argument given to
51     .I \-s
52     begins with an "a" for "auto," then the maximum is used for scaling the result.
53 greg 1.1 The default multiplier is 179, which converts from radiance or irradiance
54     to luminance or illuminance, respectively.
55     A different multiplier can be given with
56     .I \-m
57     to get daylight factors or whatever.
58     For a logarithmic rather than a linear mapping, the
59     .I \-log
60     option can be used, where
61     .I decades
62     is the number of decades below the maximum scale desired.
63 greg 1.9 .PP
64 greg 1.1 A legend is produced for the new image with a label given by the
65     .I \-l
66     option.
67 greg 1.9 The default label is "cd/m2", which is appropriate for standard Radiance
68 greg 1.1 images.
69     If the
70 greg 1.9 .I \-i
71 greg 1.1 option of
72     .I rpict(1)
73     was used to produce the image, then the appropriate label would be "Lux".
74 greg 1.9 .PP
75 greg 1.1 If contour lines are desired rather than just false color, the
76     .I \-cl
77     option can be used.
78     These lines can be placed over another Radiance picture using the
79 greg 1.9 .I \-p
80 greg 1.1 option.
81     If the input picture is given with
82     .I \-ip
83     instead of
84     .I \-i,
85     then it will be used both as the source of values and as the picture
86     to overlay with contours.
87     The
88     .I \-cb
89     option produces contour bands instead of lines, where the thickness of
90     the bands is related to the rate of change in the image.
91     The
92 greg 1.9 .I \-cp
93     option creates a posterization effect where colours are banded without
94     the background image showing through.
95     The
96 greg 1.1 .I \-n
97     option can be used to change the number of contours (and corresponding
98     legend entries) from the default value of 8.
99 greg 1.3 The
100     .I \-lw
101     and
102     .I \-lh
103     options may be used to change the legend dimensions from the default width
104     and height of 100x200.
105     A value of zero in either eliminates the legend in the output.
106 greg 1.9 .PP
107 greg 1.1 The
108     .I \-e
109     option causes extrema points to be printed on the brightest and
110     darkest pixels of the input picture.
111 greg 1.9 .PP
112 greg 1.4 The
113 greg 1.7 .I "\-pal"
114     option provides different color palettes for
115 greg 1.4 .I falsecolor.
116 greg 1.7 The current choices are
117     .I spec
118     for the old spectral mapping,
119     .I hot
120 greg 1.10 for a thermal scale,
121     .I eco
122     for a blue-yellow-red scale, and
123 greg 1.7 .I pm3d
124     for a variation of the default mapping,
125     .I def.
126 greg 1.9 A Radiance HDR image of all available palettes can be created with the
127     .I \-palettes
128     option.
129 greg 1.1 The remaining options,
130     .I "\-r, \-g,"
131     and
132     .I \-b
133     are for changing the mapping of values to colors.
134     These are expressions of the variable
135     .I v,
136     where
137     .I v
138     varies from 0 to 1.
139     These options are not recommended for the casual user.
140 greg 1.9 .PP
141 greg 1.1 If no
142     .I \-i
143     or
144     .I \-ip
145     option is used, input is taken from the standard input.
146     The output image is always written to standard output, which should
147     be redirected.
148 greg 1.9 .SH "EXAMPLES"
149 greg 1.1 To create a false color image directly from
150     .I rpict(1):
151     .IP "" .2i
152 greg 1.6 rpict \-vf default.vp scene.oct | falsecolor > scene.hdr
153 greg 1.10 .PP
154     To show the available color palettes:
155     .IP "" .2i
156     falsecolor -palettes | ximage
157 greg 1.9 .PP
158 greg 1.1 To create a logarithmic contour plot of illuminance values on a
159     Radiance image:
160     .IP "" .2i
161 greg 1.6 rpict \-i \-vf default.vp scene.oct > irrad.hdr
162 greg 1.9 .br
163 greg 1.6 rpict \-vf default.vp scene.oct > rad.hdr
164 greg 1.9 .br
165 greg 1.6 falsecolor \-i irrad.hdr \-p rad.hdr \-cl \-log 2 \-l Lux > lux.hdr
166 greg 1.9 .SH "AUTHOR"
167 greg 1.1 Greg Ward
168 greg 1.9 .br
169     Axel Jacobs (Perl translation and \-pal options)
170     .SH "ACKNOWLEDGEMENT"
171 greg 1.1 Work on this program was initiated and sponsored by the LESO
172 greg 1.10 group at EPFL in Switzerland. The 'eco' palette was sponsored by Foster + Partners in London.
173 greg 1.1 .SH "SEE ALSO"
174     getinfo(1), pcomb(1), pcompos(1), pextrem(1), pfilt(1), pflip(1), protate(1),
175     psign(1), rpict(1), ximage(1)