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
d83914d4
Commit
d83914d4
authored
Jan 28, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Imgproc_ prefix to Photo_ in all accuracy tests of photo module
parent
8521ac5d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
test_denoising.cpp
modules/photo/test/test_denoising.cpp
+4
-5
test_inpaint.cpp
modules/photo/test/test_inpaint.cpp
+1
-1
No files found.
modules/photo/test/test_denoising.cpp
View file @
d83914d4
...
...
@@ -56,7 +56,7 @@ using namespace std;
#endif
TEST
(
Imgproc
_DenoisingGrayscale
,
regression
)
TEST
(
Photo
_DenoisingGrayscale
,
regression
)
{
string
folder
=
string
(
cvtest
::
TS
::
ptr
()
->
get_data_path
())
+
"denoising/"
;
string
original_path
=
folder
+
"lena_noised_gaussian_sigma=10.png"
;
...
...
@@ -76,7 +76,7 @@ TEST(Imgproc_DenoisingGrayscale, regression)
ASSERT_EQ
(
0
,
norm
(
result
!=
expected
));
}
TEST
(
Imgproc
_DenoisingColored
,
regression
)
TEST
(
Photo
_DenoisingColored
,
regression
)
{
string
folder
=
string
(
cvtest
::
TS
::
ptr
()
->
get_data_path
())
+
"denoising/"
;
string
original_path
=
folder
+
"lena_noised_gaussian_sigma=10.png"
;
...
...
@@ -96,7 +96,7 @@ TEST(Imgproc_DenoisingColored, regression)
ASSERT_EQ
(
0
,
norm
(
result
!=
expected
));
}
TEST
(
Imgproc
_DenoisingGrayscaleMulti
,
regression
)
TEST
(
Photo
_DenoisingGrayscaleMulti
,
regression
)
{
const
int
imgs_count
=
3
;
string
folder
=
string
(
cvtest
::
TS
::
ptr
()
->
get_data_path
())
+
"denoising/"
;
...
...
@@ -121,7 +121,7 @@ TEST(Imgproc_DenoisingGrayscaleMulti, regression)
ASSERT_EQ
(
0
,
norm
(
result
!=
expected
));
}
TEST
(
Imgproc
_DenoisingColoredMulti
,
regression
)
TEST
(
Photo
_DenoisingColoredMulti
,
regression
)
{
const
int
imgs_count
=
3
;
string
folder
=
string
(
cvtest
::
TS
::
ptr
()
->
get_data_path
())
+
"denoising/"
;
...
...
@@ -145,4 +145,3 @@ TEST(Imgproc_DenoisingColoredMulti, regression)
ASSERT_EQ
(
0
,
norm
(
result
!=
expected
));
}
modules/photo/test/test_inpaint.cpp
View file @
d83914d4
...
...
@@ -115,4 +115,4 @@ void CV_InpaintTest::run( int )
ts
->
set_failed_test_info
(
cvtest
::
TS
::
OK
);
}
TEST
(
Imgproc
_Inpaint
,
regression
)
{
CV_InpaintTest
test
;
test
.
safe_run
();
}
TEST
(
Photo
_Inpaint
,
regression
)
{
CV_InpaintTest
test
;
test
.
safe_run
();
}
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