1 |
greg |
1.9 |
.\" RCSid "$Id: falsecolor.1,v 1.8 2010/10/05 01:07:16 greg Exp $" |
2 |
|
|
.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.8 |
for a thermal scale, and |
121 |
greg |
1.7 |
.I pm3d |
122 |
|
|
for a variation of the default mapping, |
123 |
|
|
.I def. |
124 |
greg |
1.9 |
A Radiance HDR image of all available palettes can be created with the |
125 |
|
|
.I \-palettes |
126 |
|
|
option. |
127 |
greg |
1.1 |
The remaining options, |
128 |
|
|
.I "\-r, \-g," |
129 |
|
|
and |
130 |
|
|
.I \-b |
131 |
|
|
are for changing the mapping of values to colors. |
132 |
|
|
These are expressions of the variable |
133 |
|
|
.I v, |
134 |
|
|
where |
135 |
|
|
.I v |
136 |
|
|
varies from 0 to 1. |
137 |
|
|
These options are not recommended for the casual user. |
138 |
greg |
1.9 |
.PP |
139 |
greg |
1.1 |
If no |
140 |
|
|
.I \-i |
141 |
|
|
or |
142 |
|
|
.I \-ip |
143 |
|
|
option is used, input is taken from the standard input. |
144 |
|
|
The output image is always written to standard output, which should |
145 |
|
|
be redirected. |
146 |
greg |
1.9 |
.SH "EXAMPLES" |
147 |
greg |
1.1 |
To create a false color image directly from |
148 |
|
|
.I rpict(1): |
149 |
|
|
.IP "" .2i |
150 |
greg |
1.6 |
rpict \-vf default.vp scene.oct | falsecolor > scene.hdr |
151 |
greg |
1.9 |
.PP |
152 |
greg |
1.1 |
To create a logarithmic contour plot of illuminance values on a |
153 |
|
|
Radiance image: |
154 |
|
|
.IP "" .2i |
155 |
greg |
1.6 |
rpict \-i \-vf default.vp scene.oct > irrad.hdr |
156 |
greg |
1.9 |
.br |
157 |
greg |
1.6 |
rpict \-vf default.vp scene.oct > rad.hdr |
158 |
greg |
1.9 |
.br |
159 |
greg |
1.6 |
falsecolor \-i irrad.hdr \-p rad.hdr \-cl \-log 2 \-l Lux > lux.hdr |
160 |
greg |
1.9 |
.SH "AUTHOR" |
161 |
greg |
1.1 |
Greg Ward |
162 |
greg |
1.9 |
.br |
163 |
|
|
Axel Jacobs (Perl translation and \-pal options) |
164 |
|
|
.SH "ACKNOWLEDGEMENT" |
165 |
greg |
1.1 |
Work on this program was initiated and sponsored by the LESO |
166 |
|
|
group at EPFL in Switzerland. |
167 |
|
|
.SH "SEE ALSO" |
168 |
|
|
getinfo(1), pcomb(1), pcompos(1), pextrem(1), pfilt(1), pflip(1), protate(1), |
169 |
|
|
psign(1), rpict(1), ximage(1) |