ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/pcomb.1
(Generate patch)

Comparing ray/doc/man/man1/pcomb.1 (file contents):
Revision 1.1 by greg, Tue Mar 11 19:20:21 2003 UTC vs.
Revision 1.10 by greg, Mon Feb 5 20:07:17 2018 UTC

# Line 1 | Line 1
1 < .\" RCSid "$Id"
1 > .\" RCSid "$Id$"
2   .TH PCOMB 1 8/31/96 RADIANCE
3   .SH NAME
4 < pcomb - combine RADIANCE pictures.
4 > pcomb - combine RADIANCE pictures
5   .SH SYNOPSIS
6   .B pcomb
7   [
8 + .B -h
9 + ][
10   .B -w
11   ][
12   .B "\-x xres"
# Line 68 | Line 70 | For example,
70   would return the red component of the pixel from picture 3
71   that is left 2 and up 1 from the current position.
72   Although x offsets may be as large as width of the picture,
73 < y offsets are limited to a small window (+/- 8 pixels) due to efficiency
73 > y offsets are limited to a small window (+/- 32 pixels) due to efficiency
74   considerations.
75   However, it is not usually necessary to worry about this problem --
76   if the requested offset is not available, the next best pixel is
# Line 85 | Line 87 | The constant
87   gives the number of input files present,
88   and
89   .I WE
90 < gives the white efficacy (lumens/brightness) for pixel values.
90 > gives the white efficacy (lumens/brightness) for pixel values,
91 > which may be used with the
92 > .I \-o
93 > option or the le(n) values to convert to absolute
94 > photometric units (see below).
95   The variables
96   .I x
97   and
# Line 134 | Line 140 | If the current pixel is outside the view region,
140   will return a negative value, and
141   .I S(n)
142   will return zero.
143 + The first input picture with a view is assumed to correspond to the
144 + view of the output picture, which is written into the header.
145   .PP
146   The
147 + .I \-h
148 + option may be used to reduce the information header size, which
149 + can grow disproportionately after multiple runs of
150 + .I pcomb
151 + and/or
152 + .I pcompos(1).
153 + The
154   .I \-w
155   option can be used to suppress warning messages about invalid
156   calculations.
# Line 185 | Line 200 | by preceeding it with an exclamation point ('!').
200   .SH EXAMPLES
201   To produce a picture showing the difference between pic1 and pic2:
202   .IP "" .2i
203 < pcomb -e 'ro=ri(1)-ri(2);go=gi(1)-gi(2);bo=bi(1)-bi(2)' pic1 pic2 > diff
203 > pcomb \-e 'ro=ri(1)\-ri(2);go=gi(1)\-gi(2);bo=bi(1)\-bi(2)' pic1 pic2 > diff
204   .PP
205   Or, more efficiently:
206   .IP "" .2i
207 < pcomb pic1 -s -1 pic2 > diff
207 > pcomb pic1 \-s \-1 pic2 > diff
208   .PP
209   To precompute the gamma correction for a picture:
210   .IP "" .2i
211 < pcomb -e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam
211 > pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' inp.hdr > gam.hdr
212   .PP
213   To perform some special filtering:
214   .IP "" .2i
215 < pcomb -f myfilt.cal -x xmax/2 -y ymax/2 input.pic > filtered.pic
215 > pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > filtered.hdr
216   .PP
217   To make a picture of a dot:
218   .IP "" .2i
219 < pcomb -x 100 -y 100 -e 'ro=b;go=b;bo=b;b=if((x-50)^2+(y-50)^2-25^2,0,1)' > dot
219 > pcomb \-x 100 \-y 100 \-e 'ro=b;go=b;bo=b;b=if((x-50)^2+(y-50)^2\-25^2,0,1)' > dot
220   .SH AUTHOR
221   Greg Ward
222   .SH "SEE ALSO"
223 < calc(1), getinfo(1), pcompos(1), pfilt(1), rpict(1)
223 > getinfo(1), icalc(1), pcompos(1), pfilt(1), rpict(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines