img_dist_snr.c File Reference

Compute signal to noise ratio (SNR) between the encoded image and the reference image. More...

#include "contributors.h"
#include <math.h>
#include "enc_statistics.h"
#include "global.h"
#include "img_distortion.h"
#include "md_distortion.h"

Include dependency graph for img_dist_snr.c:

Go to the source code of this file.

Functions

void find_snr (ImageParameters *p_Img, InputParameters *p_Inp, ImageStructure *imgREF, ImageStructure *imgSRC, DistMetric *metricSSE, DistMetric *metricPSNR)


Detailed Description

Compute signal to noise ratio (SNR) between the encoded image and the reference image.

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

Definition in file img_dist_snr.c.


Function Documentation

void find_snr ( ImageParameters p_Img,
InputParameters p_Inp,
ImageStructure *  imgREF,
ImageStructure *  imgSRC,
DistMetric metricSSE,
DistMetric metricPSNR 
)

Find SNR for all three components.

Definition at line 30 of file img_dist_snr.c.

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

Here is the call graph for this function:


Documentation generated with DoxyGen