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
4ba60f02
Commit
4ba60f02
authored
Aug 22, 2014
by
Alexander Mordvintsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expose edge-aware filters to python
parent
3f7cca4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
edge_filter.hpp
modules/ximgproc/include/opencv2/ximgproc/edge_filter.hpp
+15
-15
No files found.
modules/ximgproc/include/opencv2/ximgproc/edge_filter.hpp
View file @
4ba60f02
...
@@ -57,44 +57,44 @@ enum EdgeAwareFiltersList
...
@@ -57,44 +57,44 @@ enum EdgeAwareFiltersList
/*Interface for DT filters*/
/*Interface for DT filters*/
class
CV_EXPORTS
DTFilter
:
public
Algorithm
class
CV_EXPORTS
_W
DTFilter
:
public
Algorithm
{
{
public
:
public
:
virtual
void
filter
(
InputArray
src
,
OutputArray
dst
,
int
dDepth
=
-
1
)
=
0
;
CV_WRAP
virtual
void
filter
(
InputArray
src
,
OutputArray
dst
,
int
dDepth
=
-
1
)
=
0
;
};
};
typedef
Ptr
<
DTFilter
>
DTFilterPtr
;
typedef
Ptr
<
DTFilter
>
DTFilterPtr
;
/*Fabric function for DT filters*/
/*Fabric function for DT filters*/
CV_EXPORTS
CV_EXPORTS
_W
Ptr
<
DTFilter
>
createDTFilter
(
InputArray
guide
,
double
sigmaSpatial
,
double
sigmaColor
,
int
mode
=
DTF_NC
,
int
numIters
=
3
);
Ptr
<
DTFilter
>
createDTFilter
(
InputArray
guide
,
double
sigmaSpatial
,
double
sigmaColor
,
int
mode
=
DTF_NC
,
int
numIters
=
3
);
/*One-line DT filter call*/
/*One-line DT filter call*/
CV_EXPORTS
CV_EXPORTS
_W
void
dtFilter
(
InputArray
guide
,
InputArray
src
,
OutputArray
dst
,
double
sigmaSpatial
,
double
sigmaColor
,
int
mode
=
DTF_NC
,
int
numIters
=
3
);
void
dtFilter
(
InputArray
guide
,
InputArray
src
,
OutputArray
dst
,
double
sigmaSpatial
,
double
sigmaColor
,
int
mode
=
DTF_NC
,
int
numIters
=
3
);
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
/*Interface for Guided Filter*/
/*Interface for Guided Filter*/
class
CV_EXPORTS
GuidedFilter
:
public
Algorithm
class
CV_EXPORTS
_W
GuidedFilter
:
public
Algorithm
{
{
public
:
public
:
virtual
void
filter
(
InputArray
src
,
OutputArray
dst
,
int
dDepth
=
-
1
)
=
0
;
CV_WRAP
virtual
void
filter
(
InputArray
src
,
OutputArray
dst
,
int
dDepth
=
-
1
)
=
0
;
};
};
/*Fabric function for Guided Filter*/
/*Fabric function for Guided Filter*/
CV_EXPORTS
Ptr
<
GuidedFilter
>
createGuidedFilter
(
InputArray
guide
,
int
radius
,
double
eps
);
CV_EXPORTS
_W
Ptr
<
GuidedFilter
>
createGuidedFilter
(
InputArray
guide
,
int
radius
,
double
eps
);
/*One-line Guided Filter call*/
/*One-line Guided Filter call*/
CV_EXPORTS
void
guidedFilter
(
InputArray
guide
,
InputArray
src
,
OutputArray
dst
,
int
radius
,
double
eps
,
int
dDepth
=
-
1
);
CV_EXPORTS
_W
void
guidedFilter
(
InputArray
guide
,
InputArray
src
,
OutputArray
dst
,
int
radius
,
double
eps
,
int
dDepth
=
-
1
);
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
class
CV_EXPORTS
AdaptiveManifoldFilter
:
public
Algorithm
class
CV_EXPORTS
_W
AdaptiveManifoldFilter
:
public
Algorithm
{
{
public
:
public
:
/**
/**
...
@@ -103,23 +103,23 @@ public:
...
@@ -103,23 +103,23 @@ public:
* @param dst Adaptive-manifold filter response.
* @param dst Adaptive-manifold filter response.
* @param src_joint Image for joint filtering (optional).
* @param src_joint Image for joint filtering (optional).
*/
*/
virtual
void
filter
(
InputArray
src
,
OutputArray
dst
,
InputArray
joint
=
noArray
())
=
0
;
CV_WRAP
virtual
void
filter
(
InputArray
src
,
OutputArray
dst
,
InputArray
joint
=
noArray
())
=
0
;
virtual
void
collectGarbage
()
=
0
;
CV_WRAP
virtual
void
collectGarbage
()
=
0
;
static
Ptr
<
AdaptiveManifoldFilter
>
create
();
CV_WRAP
static
Ptr
<
AdaptiveManifoldFilter
>
create
();
};
};
//Fabric function for AM filter algorithm
//Fabric function for AM filter algorithm
CV_EXPORTS
Ptr
<
AdaptiveManifoldFilter
>
createAMFilter
(
double
sigma_s
,
double
sigma_r
,
bool
adjust_outliers
=
false
);
CV_EXPORTS
_W
Ptr
<
AdaptiveManifoldFilter
>
createAMFilter
(
double
sigma_s
,
double
sigma_r
,
bool
adjust_outliers
=
false
);
//One-line Adaptive Manifold filter call
//One-line Adaptive Manifold filter call
CV_EXPORTS
void
amFilter
(
InputArray
joint
,
InputArray
src
,
OutputArray
dst
,
double
sigma_s
,
double
sigma_r
,
bool
adjust_outliers
=
false
);
CV_EXPORTS
_W
void
amFilter
(
InputArray
joint
,
InputArray
src
,
OutputArray
dst
,
double
sigma_s
,
double
sigma_r
,
bool
adjust_outliers
=
false
);
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
CV_EXPORTS
CV_EXPORTS
_W
void
jointBilateralFilter
(
InputArray
joint
,
InputArray
src
,
OutputArray
dst
,
int
d
,
double
sigmaColor
,
double
sigmaSpace
,
int
borderType
=
BORDER_DEFAULT
);
void
jointBilateralFilter
(
InputArray
joint
,
InputArray
src
,
OutputArray
dst
,
int
d
,
double
sigmaColor
,
double
sigmaSpace
,
int
borderType
=
BORDER_DEFAULT
);
}
}
...
...
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