| 94 |
|
option. |
| 95 |
|
Radiance spectral pictures with more than 3 components are also supported. |
| 96 |
|
These are typically produced by |
| 97 |
< |
.I rtrace(1) |
| 97 |
> |
.I rtpict(1) |
| 98 |
|
or |
| 99 |
|
.I rfluxmtx(1). |
| 100 |
|
.PP |
| 144 |
|
Note that conversion from a float or RGBE color space applies a conversion |
| 145 |
|
of 179 lumens/watt (for CIE or melanopic output) or 412 (for scotopic output), |
| 146 |
|
and the reverse happens for conversion from XYZE input to RGB or RGBE output. |
| 147 |
+ |
Lower case versions of all these components are also supported, the only |
| 148 |
+ |
difference is that the aforementioned efficacy factors |
| 149 |
+ |
will be left out of the conversion. |
| 150 |
|
.PP |
| 151 |
|
If a matrix or picture file path is given to the |
| 152 |
|
.I \-c |
| 198 |
|
goes from 0 to "nrows" minus one, and |
| 199 |
|
.I c |
| 200 |
|
goes from 0 to "ncols" minus one. |
| 201 |
+ |
(Note that "nrows" may be zero if unspecified in inputs, and this |
| 202 |
+ |
is a unique capability of |
| 203 |
+ |
.I rcomb |
| 204 |
+ |
to handle these.)\0 |
| 205 |
|
Component p from input i is accessed with the "ci(i,p)" function, |
| 206 |
|
and the number of components is defined by the "ncomp" constant. |
| 207 |
|
If given as "ci(i)", the function returns the current component |
| 208 |
|
being evaluated by |
| 209 |
|
.I rcomb. |
| 210 |
< |
A different component may be referenced using th second argument. |
| 210 |
> |
A different component may be referenced using the second argument. |
| 211 |
|
For example, "ci(1,2)" accesses |
| 212 |
|
the second component from the first input. |
| 213 |
|
If the input is a picture, the the constants "R", "G", and "B" |
| 222 |
|
the functions "ri(i)", "gi(i)", and "bi(i)" are predefined as |
| 223 |
|
"ci(i,R)", "ci(i,G)", and "ci(i,B)", respectively. |
| 224 |
|
Accordingly, the "ro", "go", and "bo" |
| 225 |
< |
variables may be used in place of "co(R)", "co(G)", and "co(B)". |
| 225 |
> |
variables may be used in place of "co(R)", "co(G)", and "co(B)", |
| 226 |
> |
but all three must be defined for this substitution to take place. |
| 227 |
|
Finally, the total number of input files is set in the constant "nfiles". |
| 228 |
|
.PP |
| 229 |
|
Results are sent to the standard output. |
| 331 |
|
.I rcomb, |
| 332 |
|
and should instead be handled by |
| 333 |
|
.I pfilt(1). |
| 334 |
+ |
.SH BUGS |
| 335 |
+ |
The |
| 336 |
+ |
.I rcomb |
| 337 |
+ |
command currently ignores the "PRIMARIES" setting in input |
| 338 |
+ |
headers, and does not produce any on output, even in |
| 339 |
+ |
circumstances where it would make sense to. |
| 340 |
|
.SH AUTHOR |
| 341 |
|
Greg Ward |
| 342 |
|
.SH "SEE ALSO" |