ImageQualityFilterOptions
Options & Configuration · AiDotNet.Data.Quality
Configuration options for image quality filtering.
How It Works
Filters images based on resolution, aspect ratio, and statistical quality metrics.
Constructors
| Constructor | Summary |
|---|---|
ImageQualityFilterOptions() |
Properties
| Property | Summary |
|---|---|
double MaxAspectRatio { get; set; } |
Maximum allowed aspect ratio (width/height or height/width). |
double MaxDominantColorRatio { get; set; } |
Maximum fraction of pixels with the same value (detects solid-color images). |
double MinPixelStdDev { get; set; } |
Minimum standard deviation of pixel values (detects blank images). |
int MinHeight { get; set; } |
Minimum image height in pixels. |
int MinUniqueColors { get; set; } |
Minimum number of unique pixel values. |
int MinWidth { get; set; } |
Minimum image width in pixels. |
long MinFileSize { get; set; } |
Minimum file size in bytes (filters corrupt/tiny files). |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates that all option values are within acceptable ranges. |