# FITS Viewer Tool

The Flexible Image Transport System (FITS) is the standard format for representing images and data in Astronomy.

The KStars FITS Viewer tool is integrated with the INDI framework for seamless display and manipulation of captured FITS images. To open a FITS file, select Open FITS... from the File menu, or press &Ctrl;O.

FITS Viewer features:

- Support for 8, 16, 32, IEEE -32, and IEEE -64 bits formats.

- Histogram with linear, logarithmic, and square-root scales.

- Brightness/Contrast controls.

- Pan and Zoom.

- Auto levels.

- Statistics.

- FITS header query.

- Undo/Redo.

The FITS Viewer Tool
FITS Viewer Tool

The above diagram illustrates the FITS Viewer work area and window. The tool provides basic functions for image display. FITS data depth is preserved throughout all processing, open, and save functions. While the tool adhere to the FITS standard, it does not support all possible FITS features:

- Support for only one image per file.

- Support for only 2D data. 1D and 3D data are discarded.

- No support for WCS (World Coordinate System).

The following is a brief description of the tool's functional units:

- Brightness/Contrast: Adjusts brightness and contrast. The function can be CPU and memory intensive for very large FITS.

- Histogram: Displays one-channel FITS histogram. The user can rescale the image by optionally defining an upper and lower limit for the cutoff region. The rescaling operation (linear, logarithmic, or square-root) may then be applied to the region enclosed by the upper and lower limits.

- Statistics: Provides simple statistics for minimum and maximum pixel values and their respective locations. FITS depth, dimension, mean, and standard deviation.

- FITS header: Displays FITS header information.