class documentation

class LensShading(BaseModel): (source)

View In Hierarchy

A Pydantic model holding the lens shading tables.

PiCamera needs three numpy arrays for lens shading correction. Each array is (12, 16) in size. The arrays are luminance, red-difference chroma (Cr), and blue-difference chroma (Cb).

This is a Pydantic model so that it can be saved to the disk.

Class Variable Cb Undocumented
Class Variable Cr Undocumented
Class Variable luminance Undocumented
Cb: list[list[float]] = (source)

Undocumented

Cr: list[list[float]] = (source)

Undocumented

luminance: list[list[float]] = (source)

Undocumented