Skip to main content

Module image

Module image 

Source
Expand description

Checked CPU image views, color conversion, resizing, orientation, and affine warping.

Structs§

PixelImage
A borrowed pixel view with an explicit source format and row stride.

Enums§

WarpBorder
Border treatment for warp_affine.

Functions§

affine_transform
Computes the affine matrix that maps one point set onto another.
invert_affine
Inverts an affine matrix, so a destination-to-source map can be used as a source-to-destination.
orient
Applies an EXIF orientation (1鈥?), returning bytes and output dimensions.
resize
Resizes a tightly packed one- to four-channel image with bilinear interpolation.
warp_affine
Warps a tightly packed one- to four-channel image with bilinear interpolation.