Skip to main content

Module image

Module image 

Source
Expand description

Core image structures and types.

This module defines the fundamental structures for representing image dimensions, coordinates, and raw image data.

Structs§

Point
A point in image coordinates.
RawImage
Raw image data container.
RawImageBuilder
Builder for constructing RawImage instances.
Rect
A rectangular region.
RgbImage
A simple container for RGB image data.
Size
Image dimensions.
XTransPattern
X-Trans CFA pattern (6x6 repeating tile).

Enums§

CfaPattern
CFA (Color Filter Array) pattern.

Functions§

white_level_from_bit_depth
Compute the maximum pixel value (white level) for a given bit depth, clamped to u16.