Subversion Repositories seema-scanner

Rev

Rev 31 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 jakw 1
#ifndef CVTOOLS_H
2
#define CVTOOLS_H
3
 
4
#include <opencv2/opencv.hpp>
5
 
6
namespace cvtools{
7
    void initDistortMap(const cv::Matx33f cameraMatrix, const cv::Vec<float, 5> distCoeffs, const cv::Size size, cv::Mat &map1, cv::Mat &map2);
8
    cv::Mat diamondDownsample(cv::Mat &pattern);
9
    void imshow(const char *windowName, cv::Mat im, unsigned int x, unsigned int y);
10
    void imagesc(const char* windowName, cv::Mat im);
11
    cv::Mat histimage(cv::Mat histogram);
12
    void hist(const char *windowName, cv::Mat im, unsigned int x, unsigned int y);
13
    void writeMat( cv::Mat const& mat, const char* filename, const char* varName = "A", bool bgr2rgb = true);
14
}
15
 
16
#endif // CVTOOLS_H