SSIM | Image Quantization Library (image-q)

### Hierarchy

- SSIM

## Index

### Methods

- _calculateAverageLuma
- _calculateLumaValuesForWindow
- _iterate
- compare

## Methods

### Private _calculateAverageLuma

- _calculateAverageLuma(lumaValues: number[]): number

- - Defined in quality/ssim.ts:99

  #### Parameters

  - ##### lumaValues: number[]

  #### Returns number

### Private _calculateLumaValuesForWindow

- _calculateLumaValuesForWindow(image: PointContainer, x: number, y: number, width: number, height: number): number[]

- - Defined in quality/ssim.ts:82

  #### Parameters

  - ##### image: PointContainer

  - ##### x: number

  - ##### y: number

  - ##### width: number

  - ##### height: number

  #### Returns number[]

### Private _iterate

- _iterate(image1: PointContainer, image2: PointContainer, callback: function): void

- - Defined in quality/ssim.ts:61

  #### Parameters

  - ##### image1: PointContainer

  - ##### image2: PointContainer

  - ##### callback: function

    - - (lumaValues1: number[], lumaValues2: number[], averageLumaValue1: number, averageLumaValue2: number): void

      - #### Parameters

        - ##### lumaValues1: number[]

        - ##### lumaValues2: number[]

        - ##### averageLumaValue1: number

        - ##### averageLumaValue2: number

        #### Returns void

### compare

- compare(image1: PointContainer, image2: PointContainer): number

- - Defined in quality/ssim.ts:20

  #### Parameters

  - ##### image1: PointContainer

  - ##### image2: PointContainer

  #### Returns number

Generated using TypeDoc