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
9ea9b6cf
Commit
9ea9b6cf
authored
Aug 02, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2208 from saskatchewancatch:issue-2098
parents
6d656ca0
0fd91f6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
inpainting.cpp
modules/xphoto/src/inpainting.cpp
+1
-1
No files found.
modules/xphoto/src/inpainting.cpp
View file @
9ea9b6cf
...
@@ -83,7 +83,7 @@ namespace xphoto
...
@@ -83,7 +83,7 @@ namespace xphoto
cv
::
resize
(
_src
,
src
,
_src
.
size
()
/
ls
,
0
,
0
,
cv
::
INTER_AREA
);
cv
::
resize
(
_src
,
src
,
_src
.
size
()
/
ls
,
0
,
0
,
cv
::
INTER_AREA
);
src
.
convertTo
(
img
,
CV_32F
);
src
.
convertTo
(
img
,
CV_32F
);
img
.
setTo
(
0
,
255
-
mask
);
img
.
setTo
(
0
,
~
(
mask
>
0
)
);
cv
::
erode
(
mask
,
dmask
,
cv
::
Mat
(),
cv
::
Point
(
-
1
,
-
1
),
2
);
cv
::
erode
(
mask
,
dmask
,
cv
::
Mat
(),
cv
::
Point
(
-
1
,
-
1
),
2
);
cv
::
erode
(
dmask
,
ddmask
,
cv
::
Mat
(),
cv
::
Point
(
-
1
,
-
1
),
2
);
cv
::
erode
(
dmask
,
ddmask
,
cv
::
Mat
(),
cv
::
Point
(
-
1
,
-
1
),
2
);
...
...
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