Interface SsimOptions

interface SsimOptions {
    algorithm?: "original" | "fast" | "bezkrovny" | "weber";
    windowSize?: number;
}

Properties

algorithm?: "original" | "fast" | "bezkrovny" | "weber"

Algorithm to use to compute the SSIM.

Default

'original'

windowSize?: number

Window size for SSIM map.

Default

Math.min(11, image.width, image.height)