CropEnergy Enum
What ImageProcessingExtensions.SuggestCrop keeps in the crop.
public enum CropEnergyFields
| Name | Value | Description |
|---|---|---|
Edges | 0 | The details: the differences of luma and of alpha between neighboring pixels. Textured and detailed areas are kept, flat backgrounds (sky, studio walls) are cut, and so is a transparent background, whose outline with the subject is kept. This is the default. |
Saliency | 1 | The colors that stand out: the frequency-tuned saliency of Achanta et al. (2009), the distance in Oklab between the slightly blurred color of every pixel and the mean color of the frame. A subject that differs from its surroundings is kept even when it is smooth. |