Commit 9047ef2c authored by Alexey Spizhevoy's avatar Alexey Spizhevoy

Renamed warp of point method into warpPoint

parent a7fbcad2
...@@ -57,7 +57,7 @@ class CV_EXPORTS RotationWarper ...@@ -57,7 +57,7 @@ class CV_EXPORTS RotationWarper
public: public:
virtual ~RotationWarper() {} virtual ~RotationWarper() {}
virtual Point2f warp(const Point2f &pt, const Mat &K, const Mat &R) = 0; virtual Point2f warpPoint(const Point2f &pt, const Mat &K, const Mat &R) = 0;
virtual Rect buildMaps(Size src_size, const Mat &K, const Mat &R, Mat &xmap, Mat &ymap) = 0; virtual Rect buildMaps(Size src_size, const Mat &K, const Mat &R, Mat &xmap, Mat &ymap) = 0;
...@@ -91,7 +91,7 @@ template <class P> ...@@ -91,7 +91,7 @@ template <class P>
class CV_EXPORTS RotationWarperBase : public RotationWarper class CV_EXPORTS RotationWarperBase : public RotationWarper
{ {
public: public:
Point2f warp(const Point2f &pt, const Mat &K, const Mat &R); Point2f warpPoint(const Point2f &pt, const Mat &K, const Mat &R);
Rect buildMaps(Size src_size, const Mat &K, const Mat &R, Mat &xmap, Mat &ymap); Rect buildMaps(Size src_size, const Mat &K, const Mat &R, Mat &xmap, Mat &ymap);
...@@ -131,7 +131,7 @@ public: ...@@ -131,7 +131,7 @@ public:
void setScale(float scale) { projector_.scale = scale; } void setScale(float scale) { projector_.scale = scale; }
Point2f warp(const Point2f &pt, const Mat &K, const Mat &R, const Mat &T); Point2f warpPoint(const Point2f &pt, const Mat &K, const Mat &R, const Mat &T);
Rect buildMaps(Size src_size, const Mat &K, const Mat &R, const Mat &T, Mat &xmap, Mat &ymap); Rect buildMaps(Size src_size, const Mat &K, const Mat &R, const Mat &T, Mat &xmap, Mat &ymap);
......
...@@ -50,7 +50,7 @@ namespace cv { ...@@ -50,7 +50,7 @@ namespace cv {
namespace detail { namespace detail {
template <class P> template <class P>
Point2f RotationWarperBase<P>::warp(const Point2f &pt, const Mat &K, const Mat &R) Point2f RotationWarperBase<P>::warpPoint(const Point2f &pt, const Mat &K, const Mat &R)
{ {
projector_.setCameraParams(K, R); projector_.setCameraParams(K, R);
Point2f uv; Point2f uv;
......
...@@ -78,7 +78,7 @@ void ProjectorBase::setCameraParams(const Mat &K, const Mat &R, const Mat &T) ...@@ -78,7 +78,7 @@ void ProjectorBase::setCameraParams(const Mat &K, const Mat &R, const Mat &T)
} }
Point2f PlaneWarper::warp(const Point2f &pt, const Mat &K, const Mat &R, const Mat &T) Point2f PlaneWarper::warpPoint(const Point2f &pt, const Mat &K, const Mat &R, const Mat &T)
{ {
projector_.setCameraParams(K, R, T); projector_.setCameraParams(K, R, T);
Point2f uv; Point2f uv;
......
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