HTML automatically generated with rman
Table of Contents

Name

ccddump - dump contents of an image to other format

Synopsis

ccddump in=image out=dump [parameter = value ...]

Description

ccddump dumps the contents of an image file on a user selected format. A number of formats are available, and costumization is easy. The reverse operation, reading a binary image into NEMO’s image(5NEMO) format is mostly possible via fitsccd(5NEMO) with special options to provide a header.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=image-file
input file name, in image(5NEMO) format. [no default].
out=dump-file
output file, will be in one of the selected dump formats (see below) [no default]
type=output-type-string
Dump option type. Currently available are float, double, and byte. Such dumps are straight dumps in the local system format, with an option to byte swap (see swap= below). [default: float].
range=low:high
Range of input map used in output map. This option is only active when the output format is some fixed length integer type. When option is left blank, the min and max value from the image header is used. [default: blank]
mode=mode-string
Output mode, rows first or columns first. [default: row]
swap=bool
Swap the bytes? [default: false].
scale=
Output scaling type in case fixed length integers are used.
gamma=
Gamma scaling factor for scale=gamma
b=
Softening for scale=asinh
sm=t|f
Use the CH sm file_type? . You will need the directive
   file_type       CH
in your ~/.sm file. [default: false].

See Also

fitsccd(1NEMO) , ccdfits(1NEMO) , ccdprint(1NEMO) , image(5NEMO) , tsf(1NEMO)

Author

Peter Teuben

Files


~/src/pjt/image      ccddump.c ccddump.1

Update History


30-Jul-89    V1.0: Created    PJT
28-mar-07    V1.2 sm output option    PJT
9-jan-12    V1.3 3D option, scale= added    PJT
10-jan-12    V2.0 option= -> type=        PJT


Table of Contents