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.3 by greg, Tue Oct 21 15:08:19 2003 UTC vs.
Revision 1.13 by greg, Wed Dec 6 01:27:00 2023 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
5   .SH SYNOPSIS
6   .B pcomb
7   [
8 + .B -h
9 + ][
10   .B -w
11   ][
12   .B "\-x xres"
# Line 40 | Line 42 | but an arbitrary mapping can be assigned with the
42   and
43   .I \-f
44   options.
45 + (The variable and function definitions in each
46 + .I \-f source
47 + file are read and compiled from the RADIANCE library
48 + where it is found.)\0
49   Negative coefficients and functions are allowed, and
50   .I pcomb
51   will produce color values of zero where they would be negative.
# Line 68 | Line 74 | For example,
74   would return the red component of the pixel from picture 3
75   that is left 2 and up 1 from the current position.
76   Although x offsets may be as large as width of the picture,
77 < y offsets are limited to a small window (+/- 8 pixels) due to efficiency
77 > y offsets are limited to a small window (+/- 32 pixels) due to efficiency
78   considerations.
79   However, it is not usually necessary to worry about this problem --
80   if the requested offset is not available, the next best pixel is
# Line 113 | Line 119 | give the exposure values for picture
119   and
120   .I pa(n)
121   gives the corresponding pixel aspect ratio.
122 + Exposure values will be set to 1.0 for inputs with the
123 + .I \-o
124 + option set.
125   Finally, for pictures with stored view parameters,
126   the functions
127   .I "Ox(n), Oy(n)"
# Line 138 | Line 147 | If the current pixel is outside the view region,
147   will return a negative value, and
148   .I S(n)
149   will return zero.
150 + The first input picture with a view is assumed to correspond to the
151 + view of the output picture, which is written into the header.
152   .PP
153   The
154 + .I \-h
155 + option may be used to reduce the information header size, which
156 + can grow disproportionately after multiple runs of
157 + .I pcomb
158 + and/or
159 + .I pcompos(1).
160 + The
161   .I \-w
162   option can be used to suppress warning messages about invalid
163   calculations.
# Line 189 | Line 207 | by preceeding it with an exclamation point ('!').
207   .SH EXAMPLES
208   To produce a picture showing the difference between pic1 and pic2:
209   .IP "" .2i
210 < pcomb -e 'ro=ri(1)-ri(2);go=gi(1)-gi(2);bo=bi(1)-bi(2)' pic1 pic2 > diff
210 > pcomb \-e 'ro=ri(1)\-ri(2);go=gi(1)\-gi(2);bo=bi(1)\-bi(2)' pic1 pic2 > diff
211   .PP
212   Or, more efficiently:
213   .IP "" .2i
214 < pcomb pic1 -s -1 pic2 > diff
214 > pcomb pic1 \-s \-1 pic2 > diff
215   .PP
216   To precompute the gamma correction for a picture:
217   .IP "" .2i
218 < pcomb -e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam
218 > pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' inp.hdr > gam.hdr
219   .PP
220   To perform some special filtering:
221   .IP "" .2i
222 < pcomb -f myfilt.cal -x xmax/2 -y ymax/2 input.pic > filtered.pic
222 > pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > filtered.hdr
223   .PP
224   To make a picture of a dot:
225   .IP "" .2i
226 < 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
226 > 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
227 > .SH ENVIRONMENT
228 > RAYPATH         the directories to check for auxiliary files.
229   .SH AUTHOR
230   Greg Ward
231   .SH "SEE ALSO"
232 < calc(1), getinfo(1), pcompos(1), pfilt(1), rpict(1)
232 > getinfo(1), icalc(1), pcompos(1), pfilt(1), rmtxcomb(1), rmtxop(1), rpict(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines