--- ray/doc/man/man1/pcomb.1 2005/03/01 22:55:21 1.6 +++ ray/doc/man/man1/pcomb.1 2008/11/10 19:08:17 1.9 @@ -1,10 +1,12 @@ -.\" RCSid "$Id: pcomb.1,v 1.6 2005/03/01 22:55:21 greg Exp $" +.\" RCSid "$Id: pcomb.1,v 1.9 2008/11/10 19:08:17 greg Exp $" .TH PCOMB 1 8/31/96 RADIANCE .SH NAME pcomb - combine RADIANCE pictures .SH SYNOPSIS .B pcomb [ +.B -h +][ .B -w ][ .B "\-x xres" @@ -140,6 +142,13 @@ will return a negative value, and will return zero. .PP The +.I \-h +option may be used to reduce the information header size, which +can grow disproportionately after multiple runs of +.I pcomb +and/or +.I pcompos(1). +The .I \-w option can be used to suppress warning messages about invalid calculations. @@ -189,23 +198,23 @@ by preceeding it with an exclamation point ('!'). .SH EXAMPLES To produce a picture showing the difference between pic1 and pic2: .IP "" .2i -pcomb -e 'ro=ri(1)-ri(2);go=gi(1)-gi(2);bo=bi(1)-bi(2)' pic1 pic2 > diff +pcomb \-e 'ro=ri(1)\-ri(2);go=gi(1)\-gi(2);bo=bi(1)\-bi(2)' pic1 pic2 > diff .PP Or, more efficiently: .IP "" .2i -pcomb pic1 -s -1 pic2 > diff +pcomb pic1 \-s \-1 pic2 > diff .PP To precompute the gamma correction for a picture: .IP "" .2i -pcomb -e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam +pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' inp.hdr > gam.hdr .PP To perform some special filtering: .IP "" .2i -pcomb -f myfilt.cal -x xmax/2 -y ymax/2 input.pic > filtered.pic +pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > filtered.hdr .PP To make a picture of a dot: .IP "" .2i -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 +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 .SH AUTHOR Greg Ward .SH "SEE ALSO"