ImageStatistics 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.ImageStatistics(value)
Valid values are as follows:
- MEAN = <ImageStatistics.MEAN: 1>
- STD = <ImageStatistics.STD: 2>
- VAR = <ImageStatistics.VAR: 4>
- SKEW = <ImageStatistics.SKEW: 8>
- KURTOSIS = <ImageStatistics.KURTOSIS: 16>
- ENTROPY = <ImageStatistics.ENTROPY: 32>
- PERCENTILES = <ImageStatistics.PERCENTILES: 64>
- HISTOGRAM = <ImageStatistics.HISTOGRAM: 128>