Interface Ssim

interface Ssim {
    mssim: number;
    ssimMap: {
        data: number[];
        height: number;
        width: number;
    };
}

Properties

Properties

mssim: number

Mean SSIM of the whole image. It is the mean value of the SSIM map. It is a similarity score between two images.

ssimMap: {
    data: number[];
    height: number;
    width: number;
}

Similarity map of the two images. The dimensions of the map depend the windowSize option. Create a GREY image based on this map to visualize the similarity of the different regions of the image.

Type declaration

  • data: number[]
  • height: number
  • width: number