ImageProperty Flags

Each category of flags contains a specific set of image metrics that can be used with the ImageStats, the ChannelStats, and the Linter classes. The how-to How to customize the metrics for data cleaning shows how to customize the metrics from a flag category.

flag dataeval.flags.ImageProperty(value)

Valid values are as follows:

WIDTH = <ImageProperty.WIDTH: 1>
HEIGHT = <ImageProperty.HEIGHT: 2>
SIZE = <ImageProperty.SIZE: 4>
ASPECT_RATIO = <ImageProperty.ASPECT_RATIO: 8>
CHANNELS = <ImageProperty.CHANNELS: 16>
DEPTH = <ImageProperty.DEPTH: 32>