Subversion Repositories seema-scanner

Rev

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

Rev 121 Rev 139
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
    void cvtColorBGRToBayerBG(const cv::Mat &imBGR, cv::Mat &imBayerBG);
7
    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,
8
                                    std::vector<cv::Point2f> q0Correct, std::vector<cv::Point2f> q1Correct);
9
                                    std::vector<cv::Point2f> q0Correct, std::vector<cv::Point2f> q1Correct);
9
    void rshift(cv::Mat& I, unsigned int shift);
10
    void rshift(cv::Mat& I, unsigned int shift);
10
    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);
11
    void cvDrawChessboardCorners(CvArr* _image, CvSize pattern_size, CvPoint2D32f* corners, int count, int found, int line_width=1);
12
    void cvDrawChessboardCorners(CvArr* _image, CvSize pattern_size, CvPoint2D32f* corners, int count, int found, int line_width=1);