| 1 |
greg |
1.2 |
.\" RCSid "$Id$"
|
| 2 |
greg |
1.1 |
.TH RA_T16 1 11/15/93 RADIANCE
|
| 3 |
|
|
.SH NAME
|
| 4 |
|
|
ra_t16 - convert RADIANCE picture to/from Targa 16 or 24-bit image file
|
| 5 |
|
|
.SH SYNOPSIS
|
| 6 |
|
|
.B ra_t16
|
| 7 |
|
|
[
|
| 8 |
|
|
.B \-2
|
| 9 |
|
|
][
|
| 10 |
|
|
.B \-3
|
| 11 |
|
|
][
|
| 12 |
|
|
.B "\-g gamma"
|
| 13 |
|
|
][
|
| 14 |
|
|
.B "\-e +/-stops"
|
| 15 |
|
|
]
|
| 16 |
|
|
[
|
| 17 |
|
|
.B input
|
| 18 |
|
|
[
|
| 19 |
|
|
.B output
|
| 20 |
|
|
]
|
| 21 |
|
|
]
|
| 22 |
|
|
.br
|
| 23 |
|
|
.B ra_t16
|
| 24 |
|
|
.B \-r
|
| 25 |
|
|
[
|
| 26 |
|
|
.B "\-g gamma"
|
| 27 |
|
|
][
|
| 28 |
|
|
.B "\-e +/-stops"
|
| 29 |
|
|
]
|
| 30 |
|
|
[
|
| 31 |
|
|
.B input
|
| 32 |
|
|
[
|
| 33 |
|
|
.B output
|
| 34 |
|
|
]
|
| 35 |
|
|
]
|
| 36 |
|
|
.SH DESCRIPTION
|
| 37 |
|
|
.I Ra_t16
|
| 38 |
|
|
converts between RADIANCE and Targa 16-bit or 24-bit RGB image files
|
| 39 |
|
|
(type 2 in Targa's documentation).
|
| 40 |
|
|
In the default mode, a RADIANCE picture is converted to an
|
| 41 |
|
|
RGB file of the same horizontal and vertical dimensions with
|
| 42 |
|
|
16-bits per pixel.
|
| 43 |
|
|
The
|
| 44 |
|
|
.I \-3
|
| 45 |
|
|
option tells the program to produce a 24-bit image file instead.
|
| 46 |
|
|
The
|
| 47 |
|
|
.I \-g
|
| 48 |
|
|
option specifies the exponent used in gamma correction;
|
| 49 |
|
|
the default value is 2.2.
|
| 50 |
|
|
An exponent of 1.0 turns gamma correction off.
|
| 51 |
|
|
The
|
| 52 |
|
|
.I \-e
|
| 53 |
|
|
option specifies an exposure compensation in f-stops (powers of two).
|
| 54 |
|
|
Only integer stops are allowed, for efficiency.
|
| 55 |
|
|
The
|
| 56 |
|
|
.I \-r
|
| 57 |
|
|
option invokes a reverse conversion, from a 16-bit or 24-bit
|
| 58 |
|
|
Targa file to a RADIANCE picture.
|
| 59 |
|
|
The determination of depth is made automatically on reverse
|
| 60 |
|
|
translation, so the
|
| 61 |
|
|
.I \-2
|
| 62 |
|
|
and
|
| 63 |
|
|
.I \-3
|
| 64 |
|
|
options are not necessary.
|
| 65 |
|
|
If the output file is missing, the standard output is used.
|
| 66 |
|
|
.SH AUTHORS
|
| 67 |
|
|
Greg Ward
|
| 68 |
|
|
.SH BUGS
|
| 69 |
|
|
Run-length encoded files can be read but not written with this
|
| 70 |
|
|
program.
|
| 71 |
|
|
.SH "SEE ALSO"
|
| 72 |
|
|
pfilt(1), ra_bn(1), ra_ppm(1), ra_pr(1), ra_pr24(1),
|
| 73 |
|
|
ra_t8(1), ra_tiff(1), ximage(1)
|