--- ray/doc/man/man1/pvalue.1 2004/01/01 19:31:45 1.4 +++ ray/doc/man/man1/pvalue.1 2019/07/15 22:39:50 1.9 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: pvalue.1,v 1.4 2004/01/01 19:31:45 greg Exp $" +.\" RCSid "$Id: pvalue.1,v 1.9 2019/07/15 22:39:50 greg Exp $" .TH PVALUE 1 1/15/99 RADIANCE .SH NAME pvalue - convert RADIANCE picture to/from alternate formats @@ -42,15 +42,22 @@ these files. .TP 10n .BR \-u Print only unique values in the output, skipping runs of equal pixels. +For reverse conversions, the +.I \-u +option writes uncompressed output rather than the standard run-length RGBE +encoding. Specifying .I \+u turns this option off, which is the default. .TP .BR \-o Print original values, before exposure compensation. +If the input file is in XYZE format, the Y (green) channel +will correspond to units of candelas/meter^2. +Otherwise, the RGB values should be in spectral watts/steradian/meter^2. Specifying .I \+o -uses final values, which is the default. +uses final exposed values, which is the default. .TP .BR \-h Do not print header. @@ -177,6 +184,14 @@ Specifying converts from a Radiance picture to other values, which is the default. .TP +.BI \-p " xr yr xg yg xb yb xw yw" +On reverse conversion, RGB input uses the given set of color primaries. +These are written into the output header with the PRIMARIES variable. +.TP +.BR \-pXYZ +On reverse conversion, input is in CIE XYZ coordinates, rather than RGB. +The Y channel is assumed to be in candelas/meter^2. +.TP .BI -y \ res Set the output y resolution to .I res. @@ -207,7 +222,7 @@ options determines whether the scanlines are sorted al x or along y. Most Radiance pictures are sorted top to bottom, then left to right. -This corresponds to a specification of the form "-y yres +x xres". +This corresponds to a specification of the form "\-y yres +x xres". Either an upper or lower case 'X' may be used for this option. Like the .I \-y @@ -217,14 +232,14 @@ options have no effect for forward conversions. .SH EXAMPLE To look at the original, unique pixels in picture: .IP "" .2i -pvalue -o -u picture | more +pvalue \-o \-u picture | more .PP To convert from a 512x400 8-bit greyscale image in bottom to top, left to right scanline ordering: .IP "" .2i -pvalue -r -db -b -h +y 400 +x 512 input.im > flipped.pic +pvalue \-r \-db \-b \-h +y 400 +x 512 input.im > flipped.hdr .br -pflip -v flipped.pic > final.pic +pflip \-v flipped.hdr > final.hdr .SH AUTHOR Greg Ward .SH BUGS @@ -238,4 +253,4 @@ conversion, so this information is not used in determi the scanline ordering or picture size. .SH "SEE ALSO" getinfo(1), pcompos(1), pfilt(1), pflip(1), -protate(1), rpict(1), rtrace(1), rvu(1) +protate(1), ra_xyze(1), rpict(1), rtrace(1), rvu(1)