Skip to main content

thumbnail_variance

Function thumbnail_variance 

Source
pub fn thumbnail_variance(thumb: &Thumbnail) -> f64
Expand description

Computes the spatial variance of an RGBA thumbnail’s luminance.

Higher variance indicates a more “interesting” or visually complex frame. Used by select_smart_thumbnails to pick representative frames.