Subversion Repositories seema-scanner

Rev

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

Rev 141 Rev 142
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);
-
 
8
    void cvtColorBGRToBayerBG(const cv::Mat &imBGR, cv::Mat &imBayerBG);
7
    void cvtColorBGRToBayerBG(const cv::Mat &imBGR, cv::Mat &imBayerBG);
9
    void removeIncorrectMatches(const cv::Mat F, const std::vector<cv::Point2f> &q0, const std::vector<cv::Point2f> &q1, const float maxD,
8
    void removeIncorrectMatches(const cv::Mat F, const std::vector<cv::Point2f> &q0, const std::vector<cv::Point2f> &q1, const float maxD,
10
                                    std::vector<cv::Point2f> q0Correct, std::vector<cv::Point2f> q1Correct);
9
                                    std::vector<cv::Point2f> q0Correct, std::vector<cv::Point2f> q1Correct);
11
    void rshift(cv::Mat& I, unsigned int shift);
10
    void rshift(cv::Mat& I, unsigned int shift);
12
    void drawChessboardCorners(cv::InputOutputArray _image, cv::Size patternSize, cv::InputArray _corners, bool patternWasFound, int line_width=1);
11
    void drawChessboardCorners(cv::InputOutputArray _image, cv::Size patternSize, cv::InputArray _corners, bool patternWasFound, int line_width=1);