Commit 63008ba7 authored by Rok Mandeljc's avatar Rok Mandeljc

matlab/bridge.hpp: added missing definitions for Ptr_Stitcher

parent 6ca0aa47
......@@ -53,6 +53,7 @@
#include <opencv2/imgproc.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/photo.hpp>
#include <opencv2/stitching.hpp>
#include <opencv2/video.hpp>
namespace cv {
......@@ -87,6 +88,7 @@ typedef cv::Ptr<DenseOpticalFlow> Ptr_DenseOpticalFlow;
typedef cv::Ptr<MergeDebevec> Ptr_MergeDebevec;
typedef cv::Ptr<MergeMertens> Ptr_MergeMertens;
typedef cv::Ptr<MergeRobertson> Ptr_MergeRobertson;
typedef cv::Ptr<Stitcher> Ptr_Stitcher;
typedef cv::Ptr<Tonemap> Ptr_Tonemap;
typedef cv::Ptr<TonemapDrago> Ptr_TonemapDrago;
typedef cv::Ptr<TonemapDurand> Ptr_TonemapDurand;
......@@ -481,6 +483,11 @@ public:
Ptr_MergeRobertson toPtrMergeRobertson() { return Ptr_MergeRobertson(); }
operator Ptr_MergeRobertson() { return toPtrMergeRobertson(); }
// --------------------------- Ptr_Stitcher ------------------------------
Bridge& operator=(const Ptr_Stitcher& ) { return *this; }
Ptr_Stitcher toPtrStitcher() { return Ptr_Stitcher(); }
operator Ptr_Stitcher() { return toPtrStitcher(); }
// --------------------------- Ptr_Tonemap ------------------------------
Bridge& operator=(const Ptr_Tonemap& ) { return *this; }
Ptr_Tonemap toPtrTonemap() { return Ptr_Tonemap(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment