working on python wrappers for stitching

This commit is contained in:
Alexander Mordvintsev
2012-03-28 05:00:41 +00:00
parent d304a55e1e
commit 13045dec1d
4 changed files with 13 additions and 8 deletions

View File

@@ -49,11 +49,11 @@
namespace cv {
namespace detail {
class CV_EXPORTS SeamFinder
class CV_EXPORTS_AS(SeamFinder) SeamFinder
{
public:
virtual ~SeamFinder() {}
virtual void find(const std::vector<Mat> &src, const std::vector<Point> &corners,
CV_WRAP virtual void find(const std::vector<Mat> &src, const std::vector<Point> &corners,
std::vector<Mat> &masks) = 0;
};
@@ -99,10 +99,10 @@ public:
};
class CV_EXPORTS GraphCutSeamFinder : public GraphCutSeamFinderBase, public SeamFinder
class CV_EXPORTS_AS(GraphCutSeamFinder) GraphCutSeamFinder : public SeamFinder, public GraphCutSeamFinderBase
{
public:
GraphCutSeamFinder(int cost_type = COST_COLOR_GRAD, float terminal_cost = 10000.f,
CV_WRAP GraphCutSeamFinder(int cost_type = GraphCutSeamFinder::COST_COLOR_GRAD, float terminal_cost = 10000.f,
float bad_region_penalty = 1000.f);
~GraphCutSeamFinder();