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
a83a1caf
Commit
a83a1caf
authored
8 years ago
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8388 from ottogin:calib3d
parents
b6e8de23
3bf5d345
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
calibinit.cpp
modules/calib3d/src/calibinit.cpp
+1
-1
No files found.
modules/calib3d/src/calibinit.cpp
View file @
a83a1caf
...
...
@@ -442,7 +442,7 @@ int cvFindChessboardCorners( const void* arr, CvSize pattern_size,
Mat
img
=
cvarrToMat
((
CvMat
*
)
arr
).
clone
();
if
(
img
.
depth
()
!=
CV_8U
||
(
img
.
channels
()
!=
1
&&
img
.
channels
()
!=
3
)
)
if
(
img
.
depth
()
!=
CV_8U
||
(
img
.
channels
()
!=
1
&&
img
.
channels
()
!=
3
&&
img
.
channels
()
!=
4
)
)
CV_Error
(
CV_StsUnsupportedFormat
,
"Only 8-bit grayscale or color images are supported"
);
if
(
pattern_size
.
width
<=
2
||
pattern_size
.
height
<=
2
)
...
...
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