170 |
|
To display an image as a person might perceive it |
171 |
|
in the actual scene: |
172 |
|
.IP "" .2i |
173 |
< |
pcond -h final.pic > display.pic |
173 |
> |
pcond \-h final.pic > display.pic |
174 |
|
.br |
175 |
|
ximage display.pic ; rm display.pic & |
176 |
|
.PP |
177 |
< |
To do the same on a 24-bit display with known primary values: |
177 |
> |
To do the same on a 24\-bit display with known primary values: |
178 |
|
.IP "" .2i |
179 |
|
setenv DISPLAY_PRIMARIES ".580 .340 .281 .570 .153 .079 .333 .333" |
180 |
|
.br |
181 |
< |
pcond -h -p $DISPLAY_PRIMARIES final.pic | ximage & |
181 |
> |
pcond \-h \-p $DISPLAY_PRIMARIES final.pic | ximage & |
182 |
|
.PP |
183 |
|
To prepare a picture to be sent to a film recorder destined eventually |
184 |
|
for a slide projector with a minimum and maximum screen luminance of |
185 |
|
1.5 and 125 candelas/m^2, respectively: |
186 |
|
.IP "" .2i |
187 |
< |
pcond -d 83 -u 125 final.pic > film.pic |
187 |
> |
pcond \-d 83 \-u 125 final.pic > film.pic |
188 |
|
.PP |
189 |
|
To do the same if the output colors of the standard image |
190 |
|
"ray/lib/lib/macbeth_spec.pic" have been measured: |
191 |
|
.IP "" .2i |
192 |
< |
macbethcal -c mbfilm.xyY > film.cal |
192 |
> |
macbethcal \-c mbfilm.xyY > film.cal |
193 |
|
.br |
194 |
< |
pcond -d 83 -u 125 -f film.cal final.pic > film.pic |
194 |
> |
pcond \-d 83 \-u 125 \-f film.cal final.pic > film.pic |
195 |
|
.PP |
196 |
|
To further tweak the exposure to bring out certain areas indicated by |
197 |
|
dragging the right mouse button over them in |
198 |
|
.I ximage: |
199 |
|
.IP "" .2i |
200 |
< |
ximage -op -t 75 final.pic | pcond -i .5 -d 83 -u 125 -f film.cal |
200 |
> |
ximage \-op \-t 75 final.pic | pcond \-i .5 \-d 83 \-u 125 \-f film.cal |
201 |
|
final.pic > film.pic |
202 |
|
.PP |
203 |
|
To use a histogram computed on every 10th animation frame: |
204 |
|
.IP "" .2i |
205 |
|
phisto frame*0.pic > global.hist |
206 |
|
.br |
207 |
< |
pcond -I -s -c frame0352.pic < global.hist | ra_tiff - frame0352.tif |
207 |
> |
pcond \-I \-s \-c frame0352.pic < global.hist | ra_tiff \- frame0352.tif |
208 |
|
.SH REFERENCE |
209 |
|
Greg Ward Larson, Holly Rushmeier, Christine Piatko, |
210 |
|
``A Visibility Matching Tone Reproduction Operator for High Dynamic Range |