ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/pcompos.1
Revision: 1.4
Committed: Tue Sep 4 17:36:40 2007 UTC (16 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad3R9
Changes since 1.3: +2 -2 lines
Log Message:
Added backslashes in front of hyphens (thanks to Bernd Zeimetz for his effort)

File Contents

# Content
1 .\" RCSid "$Id: pcompos.1,v 1.3 2006/09/08 21:38:25 greg Exp $"
2 .TH PCOMPOS 1 12/18/97 RADIANCE
3 .SH NAME
4 pcompos - composite RADIANCE pictures.
5 .SH SYNOPSIS
6 .B pcompos
7 [
8 .B \-h
9 ][
10 .B "\-x xres"
11 ][
12 .B "\-y yres"
13 ][
14 .B "\-b r g b"
15 ][
16 .B "\-lh h"
17 ][
18 .B \-la
19 ]
20 [
21 .B "\-t min1"
22 ][
23 .B "\+t max1"
24 ][
25 .B "\-l lab"
26 ][
27 .B "=SS"
28 ]
29 .B "pic1 x1 y1 .."
30 .br
31 or
32 .br
33 .B pcompos
34 [
35 .B "\-a ncols"
36 ][
37 .B "\-s spacing"
38 ][
39 .B "\-o x0 y0"
40 ][
41 options
42 ]
43 .B "pic1 pic2 .."
44 .SH DESCRIPTION
45 .I Pcompos
46 arranges and composites RADIANCE pictures and sends the result to the
47 standard output.
48 Each input picture must be accompanied by an anchor point (unless the
49 .I \-a
50 option is used, see below).
51 This anchor point is the usually position of the picture's
52 left lower corner in the final output, but can be changed
53 for individual pictures with an
54 .I =SS
55 option, where
56 .I S
57 is one of '-', '+' or '0', indicating the minimum, maximum or center
58 of the image, respectively.
59 (For example,
60 .I =+-
61 would indicate the anchor is relative to the right lower corner, and
62 .I =-0
63 would indicate the anchor is relative to the center of the left
64 edge.)\0
65 Negative anchor coordinates result in the input being cropped at the origin.
66 By default, the size of the output picture will be just large enough
67 to encompass all the input files.
68 By specifying a smaller dimension using the
69 .I \-x
70 and
71 .I \-y
72 options, input files can be cropped at the upper boundary.
73 Specifying a larger dimension produces a border.
74 The
75 .I \-b
76 option specifies a background color to appear wherever input
77 files do not cover.
78 The default value is black (0 0 0).
79 The
80 .I \-h
81 option may be used to reduce the information header size, which
82 can grow disproportionately after multiple runs of
83 .I pcompos
84 and/or
85 .I pcomb(1).
86 .PP
87 If input files overlap, later pictures will overwrite earlier ones.
88 By default, input files are copied unconditionally within the output
89 boundaries.
90 The
91 .I \-t
92 option specifies a lower threshold intensity under which input pixels
93 will not be copied to the output.
94 The
95 .I \+t
96 option specifies an upper threshold.
97 These options are useful for cutting around irregular boundaries in
98 the input.
99 .PP
100 The
101 .I \-l
102 option can be used to specify a label for a specific picture, which
103 will be given a height determined by the
104 .I \-lh
105 option (default 24 pixels) and placed in the upper left corner of
106 the picture.
107 This label is generated by the program
108 .I psign(1).
109 The
110 .I \-la
111 option instructs
112 .I pcompos
113 to label each picture automatically by its name.
114 This is particularly useful in conjunction with the
115 .I \-a
116 option for producing a catalog of images (see example below).
117 The
118 .I \-l
119 option may still be used to override the default label
120 for a picture.
121 .PP
122 The
123 .I \-a
124 option can be used to automatically compute anchor points
125 that place successive pictures next to each other in
126 .I ncols
127 columns.
128 The ordering will place the first picture in the lower left corner,
129 the next just to the right of it, and so on for
130 .I ncols
131 pictures.
132 Then, the next row up repeats the pattern until all the input
133 pictures have been added to the output.
134 If the pictures are of different size,
135 .I pcompos
136 will end up leaving some background areas in the output picture.
137 There will also be an unfinished row at the top if the number
138 of pictures is not evenly divided by
139 .I ncols.
140 The
141 .I "\-s N"
142 option will cause each image to be separated by at least N pixels.
143 The
144 .I "\-o x0 y0"
145 option specifies a nonzero anchor point for the bottom left image.
146 .PP
147 The standard input can be specified with a hyphen ('-').
148 A command that produces a RADIANCE picture can be given in place of a file
149 by preceeding it with an exclamation point ('!').
150 .SH EXAMPLE
151 To put a copyright label at the bottom of a picture:
152 .IP "" .2i
153 psign Copyright 1987 | pcompos pic.inp 0 0 +t .5 - 384 64 > pic.out
154 .PP
155 To make a catalog of images separated by white 10-pixel borders:
156 .IP "" .2i
157 pcompos \-la \-a 4 \-s 10 \-b 1 1 1 dog*.pic > alldogs.pic
158 .SH NOTES
159 Since there is a limit to the number of open files and processes,
160 large collections of images must be created in stages.
161 Even if the system limit on open files is large,
162 .I pcompos
163 places an artificial limit of 64 on the number of open files and/or
164 processes.
165 .SH AUTHOR
166 Greg Ward
167 .SH "SEE ALSO"
168 getinfo(1), pcomb(1), pfilt(1), psign(1), rpict(1)