Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
9047ef2c
Commit
9047ef2c
authored
Oct 07, 2011
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed warp of point method into warpPoint
parent
a7fbcad2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
warpers.hpp
...es/stitching/include/opencv2/stitching/detail/warpers.hpp
+3
-3
warpers_inl.hpp
...titching/include/opencv2/stitching/detail/warpers_inl.hpp
+1
-1
warpers.cpp
modules/stitching/src/warpers.cpp
+1
-1
No files found.
modules/stitching/include/opencv2/stitching/detail/warpers.hpp
View file @
9047ef2c
...
...
@@ -57,7 +57,7 @@ class CV_EXPORTS RotationWarper
public
:
virtual
~
RotationWarper
()
{}
virtual
Point2f
warp
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
)
=
0
;
virtual
Point2f
warp
Point
(
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
;
...
...
@@ -91,7 +91,7 @@ template <class P>
class
CV_EXPORTS
RotationWarperBase
:
public
RotationWarper
{
public
:
Point2f
warp
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
);
Point2f
warp
Point
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
);
Rect
buildMaps
(
Size
src_size
,
const
Mat
&
K
,
const
Mat
&
R
,
Mat
&
xmap
,
Mat
&
ymap
);
...
...
@@ -131,7 +131,7 @@ public:
void
setScale
(
float
scale
)
{
projector_
.
scale
=
scale
;
}
Point2f
warp
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
,
const
Mat
&
T
);
Point2f
warp
Point
(
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
);
...
...
modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp
View file @
9047ef2c
...
...
@@ -50,7 +50,7 @@ namespace cv {
namespace
detail
{
template
<
class
P
>
Point2f
RotationWarperBase
<
P
>::
warp
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
)
Point2f
RotationWarperBase
<
P
>::
warp
Point
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
)
{
projector_
.
setCameraParams
(
K
,
R
);
Point2f
uv
;
...
...
modules/stitching/src/warpers.cpp
View file @
9047ef2c
...
...
@@ -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
::
warp
Point
(
const
Point2f
&
pt
,
const
Mat
&
K
,
const
Mat
&
R
,
const
Mat
&
T
)
{
projector_
.
setCameraParams
(
K
,
R
,
T
);
Point2f
uv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment