licornea_tools
Functions
vsrs_disparity.cc File Reference
#include "../lib/common.h"
#include "../lib/args.h"
#include <opencv2/opencv.hpp>
#include <cstdlib>
#include <cstdint>
#include <cstring>
#include <iostream>
#include <fstream>
#include <stdexcept>

Go to the source code of this file.

Functions

void append_null_tail (std::ostream &output, std::streamsize length)
 
void export_yuv_disparity (std::string filename, const cv::Mat_< uchar > &mat)
 
void export_yuv_disparity (std::string filename, const cv::Mat_< ushort > &mat)
 
template<typename Distance , typename Depth >
void orthogonal_distance_to_depth (const cv::Mat_< Distance > &in_z, cv::Mat_< Depth > &out_d, real d_near, real d_far, real z_near, real z_far)
 
int main (int argc, const char *argv[])
 

Function Documentation

void append_null_tail ( std::ostream &  output,
std::streamsize  length 
)

Definition at line 13 of file vsrs_disparity.cc.

void export_yuv_disparity ( std::string  filename,
const cv::Mat_< uchar > &  mat 
)

Definition at line 18 of file vsrs_disparity.cc.

Here is the call graph for this function:

void export_yuv_disparity ( std::string  filename,
const cv::Mat_< ushort > &  mat 
)

Definition at line 24 of file vsrs_disparity.cc.

Here is the call graph for this function:

int main ( int  argc,
const char *  argv[] 
)

Definition at line 50 of file vsrs_disparity.cc.

Here is the call graph for this function:

template<typename Distance , typename Depth >
void orthogonal_distance_to_depth ( const cv::Mat_< Distance > &  in_z,
cv::Mat_< Depth > &  out_d,
real  d_near,
real  d_far,
real  z_near,
real  z_far 
)

Definition at line 33 of file vsrs_disparity.cc.