1 |
|
.\" RCSid "$Id$" |
2 |
< |
.TH RMTXOP 1 7/8/97 RADIANCE |
2 |
> |
.TH RMTXOP 1 5/31/2014 RADIANCE |
3 |
|
.SH NAME |
4 |
|
rmtxop - concatenate, add, multiply, divide, transpose, scale, and convert matrices |
5 |
|
.SH SYNOPSIS |
14 |
|
.B "\-s sf .." |
15 |
|
][ |
16 |
|
.B "\-c ce .." |
17 |
+ |
][ |
18 |
+ |
.B "\-rf|\-rb" |
19 |
|
] |
20 |
|
.B m1 |
21 |
|
[ |
49 |
|
using quotes and a beginning exclamation point ('!'). |
50 |
|
.PP |
51 |
|
Two special cases are handled for component matrices that are either |
52 |
< |
XML files containing BTDF data, or Radiance picture files. |
53 |
< |
In the first case, a BSDF library is used to load and interpret the |
54 |
< |
transmission matrix. |
52 |
> |
XML files containing BSDF data, or Radiance picture files. |
53 |
> |
In the first case, the BSDF library loads and interprets the |
54 |
> |
transmission matrix by default. |
55 |
> |
Alternatively, the front (normal-side) reflectance is selected if the |
56 |
> |
.I \-rf |
57 |
> |
option precedes the file name, or the backside reflectance if |
58 |
> |
.I \-rb |
59 |
> |
is specified. |
60 |
|
(XML files cannot be read from the standard input or from a command.)\0 |
61 |
|
In the second case, the RGBE or XYZE values are loaded in a 3-component |
62 |
|
matrix where the number of columns match the X-dimension of the picture, and |
63 |
|
the number of rows match the Y-dimension. |
64 |
|
The picture must be in standard pixel ordering, and the first row |
65 |
|
is at the top with the first column on the left. |
66 |
+ |
Any exposure changes that were applied to the pictures before |
67 |
+ |
.I rmtxop |
68 |
+ |
will be undone, similar to the |
69 |
+ |
.I pcomb(1) |
70 |
+ |
.I \-o |
71 |
+ |
option. |
72 |
|
.PP |
73 |
|
Before each file, the |
74 |
|
.I \-t |
134 |
|
.I rmtxop |
135 |
|
command into another, as shown in one of the examples below. |
136 |
|
.PP |
137 |
< |
The number of components in the new matrix after applying any |
137 |
> |
The number of components in the next matrix after applying any |
138 |
|
.I -c |
139 |
|
transform must agree with the prior result. |
140 |
|
For concatenation (matrix multiplication), the number of columns |
141 |
< |
in the prior result must equal the number of rows in the new matrix, and |
141 |
> |
in the prior result must equal the number of rows in the next matrix, and |
142 |
|
the result will have the number of rows of the previous and the number |
143 |
< |
of columns of the new matrix. |
143 |
> |
of columns of the next matrix. |
144 |
|
In the case of addition, multiplication, and division, |
145 |
|
the number of rows and columns of the prior result and the |
146 |
< |
new matrix must match, and will not be changed by the operation. |
146 |
> |
next matrix must match, and will not be changed by the operation. |
147 |
|
.PP |
148 |
|
A final transpose or scaling/transform operation may be applied to |
149 |
|
the results by appending the |
216 |
|
.SH AUTHOR |
217 |
|
Greg Ward |
218 |
|
.SH "SEE ALSO" |
219 |
< |
cnt(1), getinfo(1), histo(1), neaten(1), rcalc(1), rcollate(1), |
220 |
< |
rcontrib(1), rfluxmtx(1), rlam(1), |
219 |
> |
cnt(1), getinfo(1), histo(1), neaten(1), pcomb(1), rcalc(1), |
220 |
> |
rcollate(1), rcontrib(1), rcrop(1), rfluxmtx(1), rlam(1), |
221 |
|
rsplit(1), tabfunc(1), total(1), wrapBSDF(1) |