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
d304a55e
Commit
d304a55e
authored
Mar 28, 2012
by
Alexander Mordvintsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gpu.hpp:filterSpeckles conflicts with calib3d.hpp -- should it be removed at all?
parent
9941cf7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gpu.hpp
modules/gpu/include/opencv2/gpu/gpu.hpp
+0
-5
speckle_filtering.cpp
modules/gpu/src/speckle_filtering.cpp
+9
-0
No files found.
modules/gpu/include/opencv2/gpu/gpu.hpp
View file @
d304a55e
...
...
@@ -1885,11 +1885,6 @@ CV_EXPORTS void createOpticalFlowNeedleMap(const GpuMat& u, const GpuMat& v, Gpu
}
// namespace gpu
//! Speckle filtering - filters small connected components on diparity image.
//! It sets pixel (x,y) to newVal if it coresponds to small CC with size < maxSpeckleSize.
//! Threshold for border between CC is diffThreshold;
CV_EXPORTS
void
filterSpeckles
(
Mat
&
img
,
uchar
newVal
,
int
maxSpeckleSize
,
uchar
diffThreshold
,
Mat
&
buf
);
}
// namespace cv
#endif
/* __OPENCV_GPU_HPP__ */
modules/gpu/src/speckle_filtering.cpp
View file @
d304a55e
...
...
@@ -44,6 +44,15 @@
using
namespace
cv
;
namespace
cv
{
// TODO: conflicts with calib3d.hpp : filterSpeckles, should be removed ?
//! Speckle filtering - filters small connected components on diparity image.
//! It sets pixel (x,y) to newVal if it coresponds to small CC with size < maxSpeckleSize.
//! Threshold for border between CC is diffThreshold;
CV_EXPORTS
void
filterSpeckles
(
Mat
&
img
,
uchar
newVal
,
int
maxSpeckleSize
,
uchar
diffThreshold
,
Mat
&
buf
);
}
typedef
Point_
<
short
>
Point2s
;
void
cv
::
filterSpeckles
(
Mat
&
img
,
uchar
newVal
,
int
maxSpeckleSize
,
uchar
maxDiff
,
Mat
&
_buf
)
...
...
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