OpenCVUtil.h File Reference
#include <opencv2/core/core.hpp>
#include <Calibration/Calibration.h>
+ Include dependency graph for OpenCVUtil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 visionx
 ArmarX headers.
 

Functions

void convertDepthInMetersToWeirdArmarX (const cv::Mat &input, CByteImage *output)
 
cv::Mat convertWeirdArmarXToDepthInMeters (CByteImage const *input)
 Convert ArmarX encoding of depth information in an RGB image to depth in meters. More...
 
void convertWeirdArmarXToDepthInMeters (const uint8_t *input, cv::Mat &output)
 Like convertWeirdArmarXToDepthInMeters(CByteImage const* input), but writes into a pre-initialized cv::Mat with the correct size and type. More...
 
void copyCvDepthToGrayscaleIVT (cv::Mat const &inputInMeters, CByteImage *output)
 Copies a floating point depth image (in meters) to an RGB depth representation. More...
 
void copyCvMatToIVT (cv::Mat const &input, CByteImage *output)
 Copies the contents of an OpenCV matrix to an IVT CByteImage. More...
 
void fillCameraMatrix (const CCalibration::CCameraParameters &ivtCameraParameters, cv::Mat &output)
 Fill a propertly initialized camera matrix with the given camera parameters. More...
 
void fillCameraMatrix (const visionx::CameraParameters &cameraParams, cv::Mat &output)
 Fill a propertly initialized camera matrix with the given camera parameters. More...
 
template<class CameraParams >
cv::Mat makeCameraMatrix (const CameraParams &cameraParams, int rows=3, int cols=3, int type=CV_64F)
 Builds a camera matrix. More...