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
9bb17caa
Commit
9bb17caa
authored
7 years ago
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8842 from delftrobotics-forks:compile_fix_circlesgrid_debug
parents
bad149d7
79bb920d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
circlesgrid.cpp
modules/calib3d/src/circlesgrid.cpp
+4
-3
No files found.
modules/calib3d/src/circlesgrid.cpp
View file @
9bb17caa
...
...
@@ -46,6 +46,7 @@
//#define DEBUG_CIRCLES
#ifdef DEBUG_CIRCLES
# include <iostream>
# include "opencv2/opencv_modules.hpp"
# ifdef HAVE_OPENCV_HIGHGUI
# include "opencv2/highgui.hpp"
...
...
@@ -289,7 +290,7 @@ void CirclesGridClusterFinder::findOutsideCorners(const std::vector<cv::Point2f>
#ifdef DEBUG_CIRCLES
drawPoints
(
outsideCorners
,
cornersImage
,
2
,
Scalar
(
128
));
imshow
(
"corners"
,
outsideC
ornersImage
);
imshow
(
"corners"
,
c
ornersImage
);
#endif
}
...
...
@@ -417,7 +418,7 @@ void CirclesGridClusterFinder::parsePatternPoints(const std::vector<cv::Point2f>
if
(
distsbuf
[
0
]
>
maxRectifiedDistance
)
{
#ifdef DEBUG_CIRCLES
cout
<<
"Pattern not detected: too large rectified distance"
<<
endl
;
std
::
cout
<<
"Pattern not detected: too large rectified distance"
<<
std
::
endl
;
#endif
centers
.
clear
();
return
;
...
...
@@ -1535,7 +1536,7 @@ void CirclesGridFinder::getCornerSegments(const std::vector<std::vector<size_t>
if
(
!
isClockwise
)
{
#ifdef DEBUG_CIRCLES
cout
<<
"Corners are counterclockwise"
<<
endl
;
std
::
cout
<<
"Corners are counterclockwise"
<<
std
::
endl
;
#endif
std
::
reverse
(
segments
.
begin
(),
segments
.
end
());
std
::
reverse
(
cornerIndices
.
begin
(),
cornerIndices
.
end
());
...
...
This diff is collapsed.
Click to expand it.
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