Expand description
Layer 1 — image input/output.
Loads the container image, validates it through a type-state pipeline and analyses it for traces of lossy compression. The type-state pattern guarantees that no downstream layer can ever receive an image that has not passed every validation gate.
Loading also records the shape of the file the samples came in — see
envelope — because a container is given away by its wrapper as readily as
by its pixels, and the wrapper is the cheaper of the two to read.
Modules§
- buffer
- Owned image buffer and the pixel-access abstraction used by every layer above image I/O.
- envelope
- The file envelope of a container: what the wrapper says, as opposed to what the pixels say.
- jpeg_
detect - Detection of prior JPEG compression via stochastic block sampling.
- phash
- Perceptual hash margin filter with a hard stability limit of
k <= 1. - validate
- Validation gates of the image type-state pipeline.