CropEnergy Enum

public enum CropEnergy

Fields

NameValueDescription
Edges0The 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.
Saliency1The 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.