View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Namespaces | Functions
depthcompare.cpp File Reference
#include "depthcompare.h"
#include <cstdio>
#include <algorithm>
#include <iostream>
#include <cmath>
#include <limits>
#include <sstream>
#include <vistle/util/netpbmimage.h>
#include <cassert>
Include dependency graph for depthcompare.cpp:

Namespaces

namespace  vistle
 

Functions

template<typename T >
static int vistle::clz (T xx)
 
template<typename T >
double vistle::depthcompare_t (const T *ref, const T *check, int xx, int yy, int w, int h, int stride, int precision, int bits_per_pixel, bool print)
 
template<>
double vistle::depthcompare_t (const float *ref, const float *check, int xx, int yy, int w, int h, int stride, int precision, int bits_per_pixel, bool print)
 
double vistle::depthcompare (const char *ref, const char *check, DepthFormat format, int depthps, int x, int y, int w, int h, int stride, bool print=true)
 compute (and optionally print) PSNR for compressed depth image check compared to reference image ref More...