Fixed bug

This commit is contained in:
alexey.spizhevoy
2012-08-06 14:57:45 +04:00
committed by Alexey Spizhevoy
parent 85d1c463b9
commit 7222f2724f
2 changed files with 8 additions and 5 deletions

View File

@@ -103,6 +103,9 @@ public:
CostFunction costFunction() const { return costFunc_; }
void setCostFunction(CostFunction val) { costFunc_ = val; }
virtual void find(const std::vector<Mat> &src, const std::vector<Point> &corners,
std::vector<Mat> &masks);
private:
enum ComponentState
{
@@ -150,9 +153,6 @@ private:
int minDist_;
};
virtual void find(const std::vector<Mat> &src, const std::vector<Point> &corners,
std::vector<Mat> &masks);
void process(const Mat &image1, const Mat &image2, Point tl1, Point tl2,
Mat &mask1, Mat &mask2);