Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
964a8a9a
Commit
964a8a9a
authored
Aug 24, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccalib: don't convert vector<Keypoint> into Mat-like structures
parent
b556c2a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ccalib.hpp
modules/ccalib/include/opencv2/ccalib.hpp
+1
-1
ccalib.cpp
modules/ccalib/src/ccalib.cpp
+2
-2
No files found.
modules/ccalib/include/opencv2/ccalib.hpp
View file @
964a8a9a
...
...
@@ -71,7 +71,7 @@ public:
bool
isInitialized
();
void
getPatternPoints
(
OutputArray
original_points
);
void
getPatternPoints
(
std
::
vector
<
KeyPoint
>&
original_points
);
/**<
Returns a vector<Point> of the original points.
*/
...
...
modules/ccalib/src/ccalib.cpp
View file @
964a8a9a
...
...
@@ -405,9 +405,9 @@ bool CustomPattern::findPattern(InputArray image, OutputArray matched_features,
return
(
!
m_ftrs
.
empty
());
}
void
CustomPattern
::
getPatternPoints
(
OutputArray
original_points
)
void
CustomPattern
::
getPatternPoints
(
std
::
vector
<
KeyPoint
>&
original_points
)
{
return
Mat
(
keypoints
).
copyTo
(
original_points
)
;
original_points
=
keypoints
;
}
double
CustomPattern
::
getPixelSize
()
...
...
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