| 1 |
< |
.\" RCSid "$Id" |
| 1 |
> |
.\" RCSid "$Id$" |
| 2 |
|
.TH PCOND 1 10/27/98 RADIANCE |
| 3 |
|
.SH NAME |
| 4 |
|
pcond - condition a RADIANCE picture for output |
| 135 |
|
.BI -d \ Lddyn |
| 136 |
|
Specifies the dynamic range for the target output device, which is |
| 137 |
|
the ratio of the maximum and minimum usable display luminances. |
| 138 |
< |
The default value is 32. |
| 138 |
> |
The default value is 100. |
| 139 |
|
.TP |
| 140 |
|
.BI -p " xr yr xg yg xb yb xw yw" |
| 141 |
|
Specifies the RGB primaries for the target output device. |
| 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.hdr > display.hdr |
| 174 |
|
.br |
| 175 |
< |
ximage display.pic ; rm display.pic & |
| 175 |
> |
ximage display.hdr ; rm display.hdr & |
| 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.hdr | 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.hdr > film.hdr |
| 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: |
| 190 |
> |
"ray/lib/lib/macbeth_spec.hdr" 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.hdr > film.hdr |
| 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 |
| 201 |
< |
final.pic > film.pic |
| 200 |
> |
ximage \-op \-t 75 final.hdr | pcond \-i .5 \-d 83 \-u 125 \-f film.cal |
| 201 |
> |
final.hdr > film.hdr |
| 202 |
|
.PP |
| 203 |
|
To use a histogram computed on every 10th animation frame: |
| 204 |
|
.IP "" .2i |
| 205 |
< |
phisto frame*0.pic > global.hist |
| 205 |
> |
phisto frame*0.hdr > global.hist |
| 206 |
|
.br |
| 207 |
< |
pcond -I -s -c frame0352.pic < global.hist | ra_tiff - frame0352.tif |
| 207 |
> |
pcond \-I \-s \-c frame0352.hdr < 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 |