ReferencePixels¶
Qualified name: CDC.color_models.ReferencePixels
- class ReferencePixels(*, reference, annotated)[source]¶
Bases:
object
A Class for handling the reference pixels for color models. Extracted from a reference image and an annotated mask.
- Parameters:
reference (pathlib.Path) – Reference image from which the pixels are extracted.
annotated (pathlib.Path) – Image with annotated pixels locations for extraction.
Methods
Generate Pixel values from reference and mask image.
Load image from file.
Attributes
The reference pixel values.