/** * SSIM computation options */ interface SsimOptions { /** * Window size for SSIM computation (default: 11) */ windowSize?: number; /** * First stability constant (default: 0.01) * Used in luminance comparison: c1 = (k1 * L)^2 */ k1?: number; /** * Second stability constant (default: 0.03) * Used in contrast/structure comparison: c2 = (k2 * L)^2 */ k2?: number; /** * Bit depth of images (default: 8 for 0-255 range) * L = 2^bitDepth - 1 */ bitDepth?: number; } export type { SsimOptions as S };