42 |
|
.TP 10n |
43 |
|
.BR \-u |
44 |
|
Print only unique values in the output, skipping runs of equal pixels. |
45 |
+ |
For reverse conversions, the |
46 |
+ |
.I \-u |
47 |
+ |
option writes uncompressed output rather than the standard run-length RGBE |
48 |
+ |
encoding. |
49 |
|
Specifying |
50 |
|
.I \+u |
51 |
|
turns this option off, which is the default. |
53 |
|
.BR \-o |
54 |
|
Print original values, before exposure compensation. |
55 |
|
If the input file is in XYZE format, the Y (green) channel |
56 |
< |
will correspond to units of candelas/meter^2. |
57 |
< |
Otherwise, the RGB values should be in spectral watts/steradian/meter^2. |
56 |
> |
will correspond to units of candelas/meter^2, unless |
57 |
> |
.I \-O |
58 |
> |
is specified, when watts/sr/meter^2 are always reported. |
59 |
|
Specifying |
60 |
|
.I \+o |
61 |
|
uses final exposed values, which is the default. |
81 |
|
Skip the specified number of bytes on the input header. |
82 |
|
This option is useful for skipping unintelligible headers in |
83 |
|
foreign file formats. |
79 |
– |
(Does not work when reading from standard input.) |
84 |
|
.TP |
85 |
|
.BI \-e \ exposure |
86 |
|
Adjust the exposure by the amount specified. |
184 |
|
converts from a Radiance picture to other values, which is the |
185 |
|
default. |
186 |
|
.TP |
187 |
+ |
.BI \-p " xr yr xg yg xb yb xw yw" |
188 |
+ |
On reverse conversion, RGB input uses the given set of color primaries. |
189 |
+ |
These are written into the output header with the PRIMARIES variable. |
190 |
+ |
.TP |
191 |
+ |
.BR \-pXYZ |
192 |
+ |
On reverse conversion, input is in CIE XYZ coordinates, rather than RGB. |
193 |
+ |
The Y channel is assumed to be in candelas/meter^2. |
194 |
+ |
.TP |
195 |
|
.BI -y \ res |
196 |
|
Set the output y resolution to |
197 |
|
.I res. |
237 |
|
To convert from a 512x400 8-bit greyscale image in bottom to top, |
238 |
|
left to right scanline ordering: |
239 |
|
.IP "" .2i |
240 |
< |
pvalue \-r \-db \-b \-h +y 400 +x 512 input.im > flipped.pic |
240 |
> |
pvalue \-r \-db \-b \-h +y 400 +x 512 input.im > flipped.hdr |
241 |
|
.br |
242 |
< |
pflip \-v flipped.pic > final.pic |
242 |
> |
pflip \-v flipped.hdr > final.hdr |
243 |
> |
.SH NOTES |
244 |
> |
Hyperspectral Radiance pictures (.hsr files) are |
245 |
> |
converted to approximate RGB. |
246 |
> |
However, the colors may not be very accurate. |
247 |
> |
Use |
248 |
> |
.I rcomb(1) |
249 |
> |
for conversion if greater color fidelity is required. |
250 |
|
.SH AUTHOR |
251 |
|
Greg Ward |
252 |
|
.SH BUGS |
253 |
< |
The |
235 |
< |
.I \-r |
236 |
< |
option does not work with the |
237 |
< |
.I \-u |
238 |
< |
option. |
239 |
< |
Also, input pixel locations are ignored during a reverse |
253 |
> |
Input pixel locations are ignored during a reverse |
254 |
|
conversion, so this information is not used in determining |
255 |
|
the scanline ordering or picture size. |
256 |
|
.SH "SEE ALSO" |
257 |
|
getinfo(1), pcompos(1), pfilt(1), pflip(1), |
258 |
< |
protate(1), rpict(1), rtrace(1), rvu(1) |
258 |
> |
protate(1), ra_xyze(1), rcomb(1), rpict(1), rtrace(1), rvu(1) |