img_dist_ssim.c File Reference

Compute structural similarity (SSIM) index using the encoded image and the reference image. More...

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

Include dependency graph for img_dist_ssim.c:

Go to the source code of this file.

Functions

float compute_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_ssim (ImageParameters *p_Img, InputParameters *p_Inp, ImageStructure *ref, ImageStructure *src, DistMetric *metricSSIM)


Detailed Description

Compute structural similarity (SSIM) index using the encoded image and the reference image.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file img_dist_ssim.c.


Function Documentation

void find_ssim ( ImageParameters p_Img,
InputParameters p_Inp,
ImageStructure *  ref,
ImageStructure *  src,
DistMetric metricSSIM 
)

Find SSIM for all three components.

Definition at line 97 of file img_dist_ssim.c.

References accumulate_average(), accumulate_avslice(), distortion_metric::value, and YUV400.

Here is the call graph for this function:


Documentation generated with DoxyGen