img-flir - FLIR FPF Public Image format (flir)
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 data in flir format (options -data and -file) is detected automatically.
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.
This format handler interprets FLIR temperature files as grayscale images.
Temperature values specified as short, int, float and double are supported.
This format handler only supports read functionality.
The handler provides the following options:
If set to true, additional information about the read data is printed to stdout. Default is false.
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.
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.
Mode minmax maps the minimum and maximum input data to 256 grayscale values.
Mode agc applies an automatic gain control algorithmn to the input values. Currently implemented for 1-channel 32-bit float images only.
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.
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.
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.
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.
The supplied value specifies the cut-off value in percent. Default is 3.0. Valid for mapping mode: agc.
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
Copyright © 1995-2024 Jan Nijtmans <nijtmans@users.sourceforge.net>
Copyright © 2002-2024 Andreas Kupries <andreas_kupries@users.sourceforge.net>
Copyright © 2003-2024 Paul Obermeier <obermeier@users.sourceforge.net>