Subversion Repositories seema-scanner

Rev

Rev 139 | Rev 142 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 139 Rev 141
Line 2... Line 2...
2
#define CVTOOLS_H
2
#define CVTOOLS_H
3
 
3
 
4
#include <opencv2/opencv.hpp>
4
#include <opencv2/opencv.hpp>
5
 
5
 
6
namespace cvtools{
6
namespace cvtools{
-
 
7
    bool imwritePNG(const std::string& filename, const cv::Mat img);
7
    void cvtColorBGRToBayerBG(const cv::Mat &imBGR, cv::Mat &imBayerBG);
8
    void cvtColorBGRToBayerBG(const cv::Mat &imBGR, cv::Mat &imBayerBG);
8
    void removeIncorrectMatches(const cv::Mat F, const std::vector<cv::Point2f> &q0, const std::vector<cv::Point2f> &q1, const float maxD,
9
    void removeIncorrectMatches(const cv::Mat F, const std::vector<cv::Point2f> &q0, const std::vector<cv::Point2f> &q1, const float maxD,
9
                                    std::vector<cv::Point2f> q0Correct, std::vector<cv::Point2f> q1Correct);
10
                                    std::vector<cv::Point2f> q0Correct, std::vector<cv::Point2f> q1Correct);
10
    void rshift(cv::Mat& I, unsigned int shift);
11
    void rshift(cv::Mat& I, unsigned int shift);
11
    void drawChessboardCorners(cv::InputOutputArray _image, cv::Size patternSize, cv::InputArray _corners, bool patternWasFound, int line_width=1);
12
    void drawChessboardCorners(cv::InputOutputArray _image, cv::Size patternSize, cv::InputArray _corners, bool patternWasFound, int line_width=1);