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
fad9a51b
Commit
fad9a51b
authored
Aug 07, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
parents
96953843
a83b78e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
bm3d_image_denoising.cpp
modules/xphoto/src/bm3d_image_denoising.cpp
+2
-0
test_denoise_bm3d.cpp
modules/xphoto/test/test_denoise_bm3d.cpp
+1
-1
No files found.
modules/xphoto/src/bm3d_image_denoising.cpp
View file @
fad9a51b
...
@@ -148,6 +148,8 @@ void bm3dDenoising(
...
@@ -148,6 +148,8 @@ void bm3dDenoising(
_dst
.
create
(
srcSize
,
type
);
_dst
.
create
(
srcSize
,
type
);
break
;
break
;
case
BM3D_STEPALL
:
case
BM3D_STEPALL
:
if
(
_basic
.
needed
())
_basic
.
create
(
srcSize
,
type
);
_dst
.
create
(
srcSize
,
type
);
_dst
.
create
(
srcSize
,
type
);
break
;
break
;
default
:
default
:
...
...
modules/xphoto/test/test_denoise_bm3d.cpp
View file @
fad9a51b
...
@@ -76,7 +76,7 @@ namespace opencv_test { namespace {
...
@@ -76,7 +76,7 @@ namespace opencv_test { namespace {
// BM3D: two different calls doing exactly the same thing
// BM3D: two different calls doing exactly the same thing
cv
::
Mat
result
,
resultSec
;
cv
::
Mat
result
,
resultSec
;
cv
::
xphoto
::
bm3dDenoising
(
original
,
cv
::
Mat
(),
resultSec
,
10
,
4
,
16
,
2500
,
400
,
8
,
1
,
0.0
f
,
cv
::
NORM_L2
,
cv
::
xphoto
::
BM3D_STEPALL
);
cv
::
xphoto
::
bm3dDenoising
(
original
,
noArray
(),
resultSec
,
10
,
4
,
16
,
2500
,
400
,
8
,
1
,
0.0
f
,
cv
::
NORM_L2
,
cv
::
xphoto
::
BM3D_STEPALL
);
cv
::
xphoto
::
bm3dDenoising
(
original
,
result
,
10
,
4
,
16
,
2500
,
400
,
8
,
1
,
0.0
f
,
cv
::
NORM_L2
,
cv
::
xphoto
::
BM3D_STEPALL
);
cv
::
xphoto
::
bm3dDenoising
(
original
,
result
,
10
,
4
,
16
,
2500
,
400
,
8
,
1
,
0.0
f
,
cv
::
NORM_L2
,
cv
::
xphoto
::
BM3D_STEPALL
);
DUMP
(
result
,
expected_path
+
".res.png"
);
DUMP
(
result
,
expected_path
+
".res.png"
);
...
...
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