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
5e2c1126
Commit
5e2c1126
authored
Jun 15, 2018
by
Alexander Alekhin
Committed by
Alexander Alekhin
Jun 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
photo: remove redundant broken check
`dest(roi_d)` operation contains similar check inside.
parent
30d4e026
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
seamless_cloning.cpp
modules/photo/src/seamless_cloning.cpp
+0
-4
No files found.
modules/photo/src/seamless_cloning.cpp
View file @
5e2c1126
...
...
@@ -88,10 +88,6 @@ void cv::seamlessClone(InputArray _src, InputArray _dst, InputArray _mask, Point
int
minxd
=
p
.
x
-
lenx
/
2
;
int
minyd
=
p
.
y
-
leny
/
2
;
int
maxxd
=
minxd
+
lenx
;
int
maxyd
=
minyd
+
leny
;
CV_Assert
(
minxd
>=
0
&&
minyd
>=
0
&&
maxxd
<=
dest
.
rows
&&
maxyd
<=
dest
.
cols
);
Rect
roi_d
(
minxd
,
minyd
,
lenx
,
leny
);
Rect
roi_s
(
minx
,
miny
,
lenx
,
leny
);
...
...
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