fpix
FPix is a floating-point image representation used in Leptonica, a C library for image processing. An FPix stores a two-dimensional grayscale image where each pixel value is a 32-bit floating point number. This format is used to hold intermediate results of image processing that require fractional precision, such as convolution outputs, gradient magnitudes, normalized intensities, or other computations that exceed the 8-bit range of standard pixel images.
Internally an FPix contains width and height, and a contiguous array of float values laid out row-major.
Common uses include storing pre- and post-processing results in OCR pipelines, color and intensity normalization, and