[ Table Of Contents ]

img-flir(n) 2.0 doc "Img"

Name

img-flir - FLIR FPF Public Image format (flir)

Table Of Contents

Synopsis

  • package require img::flir ?2.0?

Description

package require img::flir

Like all packages of Img it does not provide new commands, but extends the existing Tk command image, so that it supports files containing raster images in the FLIR FPF Public Image format (flir). More specifically img::flir extends Tk's photo image type.

The name of the new format handler is flir. This handler provides new additional configuration options. See section Options for more detailed explanations.

All of the above means that in a call like

image create photo ?name? ?options?
  1. Image data in flir format (options -data and -file) is detected automatically.

  2. The format name flir is recognized by the option -format.

In addition the value of option -format is treated as a list and may contain any of the special options listed in section Options.

The package img::flir is not loaded when doing a package require Img, but must be loaded explicitly via package require img::flir.

Notes

  1. This format handler interprets FLIR temperature files as grayscale images.

  2. Temperature values specified as short, int, float and double are supported.

  3. This format handler only supports read functionality.

Options

The handler provides the following options:

-verbose bool

If set to true, additional information about the read data is printed to stdout. Default is false.

-map string

Specify the mode when mapping the 16, 32 or 64-bit temperature values to 8-bit grayscale values for displaying. Possible values: none, minmax, agc. Default mode is minmax.

  1. If mode is set to none, no mapping of input values is done. Use this mode, if the input values are already in the range of 0 ..255. When using mode none, no information about the minimum and maximum input values is gathered during reading and therefore no verbose output is printed. On the other hand reading the input data is faster.

  2. Mode minmax maps the minimum and maximum input data to 256 grayscale values.

  3. Mode agc applies an automatic gain control algorithmn to the input values. Currently implemented for 1-channel 32-bit float images only.

-min double

Specify the minimum pixel value to be used for mapping the input data to 8-bit image values. Default is the minimum value found in the input data. Valid for mapping mode: minmax.

-max double

Specify the maximum pixel value to be used for mapping the input data to 8-bit image values. Default is the maximum value found in the input data. Valid for mapping mode: minmax.

-gamma double

Specify a gamma correction to be applied when mapping the input data to 8-bit image values. Default is 1.0. Valid for mapping modes: minmax and agc.

-saturation double

The supplied value specifies the saturation value, i.e. all input values greater than the saturation value are mapped to white. Default is no saturation. Valid for mapping mode: agc.

-cutoff double

The supplied value specifies the cut-off value in percent. Default is 3.0. Valid for mapping mode: agc.

See Also

img, img-bmp, img-dted, img-flir, img-gif, img-ico, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-tga, img-tiff, img-window, img-xbm, img-xpm