| img-flir(3tk) | Img | img-flir(3tk) |
img-flir - FLIR FPF Public Image format (flir)
package require img::flir ?2.0?
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 [https://www.tcl.tk/man/tcl9.0/TkCmd/photo.html] 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?
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.
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.
Specify the minimum pixel value to be used for mapping the input data to 8-bit image values. If not specified or negative, the minimum value found in the image data. Valid for mapping mode: minmax.
Specify the maximum pixel value to be used for mapping the input data to 8-bit image values. If not specified or negative, the maximum value found in the image 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. If not specified or negative, do not use saturation. Valid for mapping mode: agc.
The supplied value specifies the cut-off value in percent. The cut-off value specifies, how many pixels from the lower and upper part of the histogram are not considered for mapping. This option is useful, if there are some hot or cold spots in the image. 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 (c) 1995-2024 Jan Nijtmans <nijtmans@users.sourceforge.net> Copyright (c) 2002-2024 Andreas Kupries <andreas_kupries@users.sourceforge.net> Copyright (c) 2003-2024 Paul Obermeier <obermeier@users.sourceforge.net>
| 2.0 | img-flir |