#include "contributors.h"
#include "global.h"
#include "img_distortion.h"
#include "enc_statistics.h"
#include "memalloc.h"
#include "math.h"

Go to the source code of this file.
Defines | |
| #define | UNBIASED_VARIANCE |
| #define | MS_SSIM_PAD 6 |
| #define | MS_SSIM_PAD2 3 |
| #define | MS_SSIM_BETA0 0.0448 |
| #define | MS_SSIM_BETA1 0.2856 |
| #define | MS_SSIM_BETA2 0.3001 |
| #define | MS_SSIM_BETA3 0.2363 |
| #define | MS_SSIM_BETA4 0.1333 |
| #define | MAX_SSIM_LEVELS 5 |
Functions | |
| float | compute_structural_components (ImageParameters *p_Img, InputParameters *p_Inp, imgpel **refImg, imgpel **encImg, int height, int width, int win_height, int win_width, int comp) |
| float | compute_luminance_component (ImageParameters *p_Img, InputParameters *p_Inp, imgpel **refImg, imgpel **encImg, int height, int width, int win_height, int win_width, int comp) |
| void | horizontal_symmetric_extension (int **buffer, int width, int height) |
| void | vertical_symmetric_extension (int **buffer, int width, int height) |
| static void | imgpel_to_padded_int (imgpel **src, int **buffer, int width, int height) |
| void | downsample (imgpel **src, imgpel **out, int height, int width) |
| float | compute_ms_ssim (ImageParameters *p_Img, InputParameters *p_Inp, imgpel **refImg, imgpel **encImg, int height, int width, int win_height, int win_width, int comp) |
| void | find_ms_ssim (ImageParameters *p_Img, InputParameters *p_Inp, ImageStructure *ref, ImageStructure *src, DistMetric *metricSSIM) |
Definition in file img_dist_ms_ssim.c.
| void find_ms_ssim | ( | ImageParameters * | p_Img, | |
| InputParameters * | p_Inp, | |||
| ImageStructure * | ref, | |||
| ImageStructure * | src, | |||
| DistMetric * | metricSSIM | |||
| ) |
Find MS-SSIM for all three components.
Definition at line 332 of file img_dist_ms_ssim.c.
References accumulate_average(), accumulate_avslice(), distortion_metric::value, and YUV400.
