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.7 by greg, Fri Sep 8 21:38:25 2006 UTC vs.
Revision 1.14 by greg, Wed Dec 6 17:56:57 2023 UTC

# Line 41 | Line 41 | but an arbitrary mapping can be assigned with the
41   .I \-e
42   and
43   .I \-f
44 < options.
44 > options, similar to
45 > .I rcalc(1).
46 > (The variable and function definitions in each
47 > .I \-f source
48 > file are read and compiled from the RADIANCE library
49 > where it is found.)\0
50   Negative coefficients and functions are allowed, and
51   .I pcomb
52   will produce color values of zero where they would be negative.
# Line 115 | Line 120 | give the exposure values for picture
120   and
121   .I pa(n)
122   gives the corresponding pixel aspect ratio.
123 + Exposure values will be set to 1.0 for inputs with the
124 + .I \-o
125 + option set.
126   Finally, for pictures with stored view parameters,
127   the functions
128   .I "Ox(n), Oy(n)"
# Line 140 | Line 148 | If the current pixel is outside the view region,
148   will return a negative value, and
149   .I S(n)
150   will return zero.
151 + The first input picture with a view is assumed to correspond to the
152 + view of the output picture, which is written into the header.
153   .PP
154   The
155   .I \-h
# Line 198 | Line 208 | by preceeding it with an exclamation point ('!').
208   .SH EXAMPLES
209   To produce a picture showing the difference between pic1 and pic2:
210   .IP "" .2i
211 < pcomb -e 'ro=ri(1)-ri(2);go=gi(1)-gi(2);bo=bi(1)-bi(2)' pic1 pic2 > diff
211 > pcomb \-e 'ro=ri(1)\-ri(2);go=gi(1)\-gi(2);bo=bi(1)\-bi(2)' pic1 pic2 > diff
212   .PP
213   Or, more efficiently:
214   .IP "" .2i
215 < pcomb pic1 -s -1 pic2 > diff
215 > pcomb pic1 \-s \-1 pic2 > diff
216   .PP
217   To precompute the gamma correction for a picture:
218   .IP "" .2i
219 < pcomb -e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam
219 > pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' inp.hdr > gam.hdr
220   .PP
221   To perform some special filtering:
222   .IP "" .2i
223 < pcomb -f myfilt.cal -x xmax/2 -y ymax/2 input.pic > filtered.pic
223 > pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > filtered.hdr
224   .PP
225   To make a picture of a dot:
226   .IP "" .2i
227 < 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 > 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
228 > .SH ENVIRONMENT
229 > RAYPATH         the directories to check for auxiliary files.
230   .SH AUTHOR
231   Greg Ward
232   .SH "SEE ALSO"
233 < getinfo(1), icalc(1), pcompos(1), pfilt(1), rpict(1)
233 > getinfo(1), icalc(1), pcompos(1), pfilt(1), rcalc(1),
234 > rmtxcomb(1), rmtxop(1), rpict(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines