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
fc64faa2
Commit
fc64faa2
authored
Jun 27, 2013
by
peng xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove empty cv::ocl::CLAHE class.
parent
cc3fb3d1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
ocl.hpp
modules/ocl/include/opencv2/ocl/ocl.hpp
+1
-4
perf_imgproc.cpp
modules/ocl/perf/perf_imgproc.cpp
+2
-2
imgproc.cpp
modules/ocl/src/imgproc.cpp
+2
-2
test_imgproc.cpp
modules/ocl/test/test_imgproc.cpp
+1
-1
No files found.
modules/ocl/include/opencv2/ocl/ocl.hpp
View file @
fc64faa2
...
...
@@ -516,10 +516,7 @@ namespace cv
CV_EXPORTS
void
equalizeHist
(
const
oclMat
&
mat_src
,
oclMat
&
mat_dst
);
//! only 8UC1 is supported now
class
CV_EXPORTS
CLAHE
:
public
cv
::
CLAHE
{
};
CV_EXPORTS
Ptr
<
cv
::
ocl
::
CLAHE
>
createCLAHE
(
double
clipLimit
=
40.0
,
Size
tileGridSize
=
Size
(
8
,
8
));
CV_EXPORTS
Ptr
<
cv
::
CLAHE
>
createCLAHE
(
double
clipLimit
=
40.0
,
Size
tileGridSize
=
Size
(
8
,
8
));
//! bilateralFilter
// supports 8UC1 8UC4
...
...
modules/ocl/perf/perf_imgproc.cpp
View file @
fc64faa2
...
...
@@ -932,8 +932,8 @@ PERFTEST(CLAHE)
double
clipLimit
=
40.0
;
cv
::
Ptr
<
cv
::
CLAHE
>
clahe
=
cv
::
createCLAHE
(
clipLimit
);
cv
::
Ptr
<
cv
::
ocl
::
CLAHE
>
d_clahe
=
cv
::
ocl
::
createCLAHE
(
clipLimit
);
cv
::
Ptr
<
cv
::
CLAHE
>
clahe
=
cv
::
createCLAHE
(
clipLimit
);
cv
::
Ptr
<
cv
::
CLAHE
>
d_clahe
=
cv
::
ocl
::
createCLAHE
(
clipLimit
);
for
(
int
size
=
Min_Size
;
size
<=
Max_Size
;
size
*=
Multiple
)
{
...
...
modules/ocl/src/imgproc.cpp
View file @
fc64faa2
...
...
@@ -1591,7 +1591,7 @@ namespace cv
namespace
{
class
CLAHE_Impl
:
public
cv
::
ocl
::
CLAHE
class
CLAHE_Impl
:
public
cv
::
CLAHE
{
public
:
CLAHE_Impl
(
double
clipLimit
=
40.0
,
int
tilesX
=
8
,
int
tilesY
=
8
);
...
...
@@ -1696,7 +1696,7 @@ namespace cv
}
}
cv
::
Ptr
<
cv
::
ocl
::
CLAHE
>
createCLAHE
(
double
clipLimit
,
cv
::
Size
tileGridSize
)
cv
::
Ptr
<
cv
::
CLAHE
>
createCLAHE
(
double
clipLimit
,
cv
::
Size
tileGridSize
)
{
return
new
CLAHE_Impl
(
clipLimit
,
tileGridSize
.
width
,
tileGridSize
.
height
);
}
...
...
modules/ocl/test/test_imgproc.cpp
View file @
fc64faa2
...
...
@@ -1425,7 +1425,7 @@ PARAM_TEST_CASE(CLAHE, cv::Size, ClipLimit)
TEST_P
(
CLAHE
,
Accuracy
)
{
cv
::
Ptr
<
cv
::
ocl
::
CLAHE
>
clahe
=
cv
::
ocl
::
createCLAHE
(
clipLimit
);
cv
::
Ptr
<
cv
::
CLAHE
>
clahe
=
cv
::
ocl
::
createCLAHE
(
clipLimit
);
clahe
->
apply
(
g_src
,
g_dst
);
cv
::
Mat
dst
(
g_dst
);
...
...
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