Module dssim

Module dssim 

Source
Expand description

DSSIM (Structural Dissimilarity) metric calculation.

Wraps the dssim-core crate for perceptual image comparison.

Functionsยง

calculate_dssim
Calculate DSSIM between two images.
rgb8_to_dssim_image
Convert RGB8 image data to the format needed for DSSIM calculation.
rgba8_to_dssim_image
Convert RGBA8 image data to the format needed for DSSIM calculation.