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
83efef4b
Commit
83efef4b
authored
Apr 23, 2011
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added overloaded variants of findHomography & findFundamentalMat for backward compatibility
parent
ee0c16e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
calib3d.hpp
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
+10
-2
fundam.cpp
modules/calib3d/src/fundam.cpp
+14
-1
No files found.
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
View file @
83efef4b
...
...
@@ -442,10 +442,13 @@ enum
};
//! computes the best-fit perspective transformation mapping srcPoints to dstPoints.
CV_EXPORTS_W
Mat
findHomography
(
const
InputArray
&
srcPoints
,
const
InputArray
&
dstPoints
,
CV_EXPORTS_W
Mat
findHomography
(
const
InputArray
&
srcPoints
,
const
InputArray
&
dstPoints
,
int
method
=
0
,
double
ransacReprojThreshold
=
3
,
OutputArray
mask
=
OutputArray
());
//! variant of findHomography for backward compatibility
CV_EXPORTS
Mat
findHomography
(
const
InputArray
&
srcPoints
,
const
InputArray
&
dstPoints
,
OutputArray
mask
,
int
method
=
0
,
double
ransacReprojThreshold
=
3
);
//! Computes RQ decomposition of 3x3 matrix
CV_EXPORTS_W
Vec3d
RQDecomp3x3
(
const
InputArray
&
src
,
OutputArray
mtxR
,
OutputArray
mtxQ
,
...
...
@@ -640,6 +643,11 @@ CV_EXPORTS_W Mat findFundamentalMat( const InputArray& points1, const InputArray
double
param1
=
3.
,
double
param2
=
0.99
,
OutputArray
mask
=
OutputArray
());
//! variant of findFundamentalMat for backward compatibility
CV_EXPORTS
Mat
findFundamentalMat
(
const
InputArray
&
points1
,
const
InputArray
&
points2
,
OutputArray
mask
,
int
method
=
FM_RANSAC
,
double
param1
=
3.
,
double
param2
=
0.99
);
//! finds coordinates of epipolar lines corresponding the specified points
CV_EXPORTS
void
computeCorrespondEpilines
(
const
InputArray
&
points1
,
int
whichImage
,
const
InputArray
&
F
,
...
...
modules/calib3d/src/fundam.cpp
View file @
83efef4b
...
...
@@ -1065,7 +1065,13 @@ cv::Mat cv::findHomography( const InputArray& _points1, const InputArray& _point
H
=
Scalar
(
0
);
return
H
;
}
cv
::
Mat
cv
::
findHomography
(
const
InputArray
&
_points1
,
const
InputArray
&
_points2
,
OutputArray
_mask
,
int
method
,
double
ransacReprojThreshold
)
{
return
cv
::
findHomography
(
_points1
,
_points2
,
method
,
ransacReprojThreshold
,
_mask
);
}
cv
::
Mat
cv
::
findFundamentalMat
(
const
InputArray
&
_points1
,
const
InputArray
&
_points2
,
int
method
,
double
param1
,
double
param2
,
OutputArray
_mask
)
...
...
@@ -1089,6 +1095,13 @@ cv::Mat cv::findFundamentalMat( const InputArray& _points1, const InputArray& _p
return
F
;
}
cv
::
Mat
cv
::
findFundamentalMat
(
const
InputArray
&
_points1
,
const
InputArray
&
_points2
,
OutputArray
_mask
,
int
method
,
double
param1
,
double
param2
)
{
return
cv
::
findFundamentalMat
(
_points1
,
_points2
,
method
,
param1
,
param2
,
_mask
);
}
void
cv
::
computeCorrespondEpilines
(
const
InputArray
&
_points
,
int
whichImage
,
const
InputArray
&
_Fmat
,
OutputArray
_lines
)
{
...
...
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