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.4 by greg, Tue Dec 9 15:59:06 2003 UTC vs.
Revision 1.9 by greg, Mon Nov 10 19:08:17 2008 UTC

# Line 5 | Line 5 | 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 140 | Line 142 | will return a negative value, and
142   will return zero.
143   .PP
144   The
145 + .I \-h
146 + option may be used to reduce the information header size, which
147 + can grow disproportionately after multiple runs of
148 + .I pcomb
149 + and/or
150 + .I pcompos(1).
151 + The
152   .I \-w
153   option can be used to suppress warning messages about invalid
154   calculations.
# Line 189 | Line 198 | by preceeding it with an exclamation point ('!').
198   .SH EXAMPLES
199   To produce a picture showing the difference between pic1 and pic2:
200   .IP "" .2i
201 < pcomb -e 'ro=ri(1)-ri(2);go=gi(1)-gi(2);bo=bi(1)-bi(2)' pic1 pic2 > diff
201 > pcomb \-e 'ro=ri(1)\-ri(2);go=gi(1)\-gi(2);bo=bi(1)\-bi(2)' pic1 pic2 > diff
202   .PP
203   Or, more efficiently:
204   .IP "" .2i
205 < pcomb pic1 -s -1 pic2 > diff
205 > pcomb pic1 \-s \-1 pic2 > diff
206   .PP
207   To precompute the gamma correction for a picture:
208   .IP "" .2i
209 < pcomb -e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam
209 > pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' inp.hdr > gam.hdr
210   .PP
211   To perform some special filtering:
212   .IP "" .2i
213 < pcomb -f myfilt.cal -x xmax/2 -y ymax/2 input.pic > filtered.pic
213 > pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > filtered.hdr
214   .PP
215   To make a picture of a dot:
216   .IP "" .2i
217 < 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
217 > 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
218   .SH AUTHOR
219   Greg Ward
220   .SH "SEE ALSO"
221 < calc(1), getinfo(1), pcompos(1), pfilt(1), rpict(1)
221 > getinfo(1), icalc(1), pcompos(1), pfilt(1), rpict(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines