OpenCV
3.0.0-rc1
Open Source Computer Vision
|
Classes | |
class | cv::ximgproc::AdaptiveManifoldFilter |
Interface for Adaptive Manifold Filter realizations. More... | |
class | cv::ximgproc::DTFilter |
Interface for realizations of Domain Transform filter. More... | |
class | cv::ximgproc::GuidedFilter |
Interface for realizations of Guided Filter. More... | |
Enumerations | |
enum | cv::ximgproc::EdgeAwareFiltersList { cv::ximgproc::DTF_NC, cv::ximgproc::DTF_IC, cv::ximgproc::DTF_RF, cv::ximgproc::GUIDED_FILTER, cv::ximgproc::AM_FILTER } |
Functions | |
void | cv::ximgproc::amFilter (InputArray joint, InputArray src, OutputArray dst, double sigma_s, double sigma_r, bool adjust_outliers=false) |
Simple one-line Adaptive Manifold Filter call. More... | |
Ptr< AdaptiveManifoldFilter > | cv::ximgproc::createAMFilter (double sigma_s, double sigma_r, bool adjust_outliers=false) |
Factory method, create instance of AdaptiveManifoldFilter and produce some initialization routines. More... | |
Ptr< DTFilter > | cv::ximgproc::createDTFilter (InputArray guide, double sigmaSpatial, double sigmaColor, int mode=DTF_NC, int numIters=3) |
Factory method, create instance of DTFilter and produce initialization routines. More... | |
Ptr< GuidedFilter > | cv::ximgproc::createGuidedFilter (InputArray guide, int radius, double eps) |
Factory method, create instance of GuidedFilter and produce initialization routines. More... | |
void | cv::ximgproc::dtFilter (InputArray guide, InputArray src, OutputArray dst, double sigmaSpatial, double sigmaColor, int mode=DTF_NC, int numIters=3) |
Simple one-line Domain Transform filter call. If you have multiple images to filter with the same guided image then use DTFilter interface to avoid extra computations on initialization stage. More... | |
void | cv::ximgproc::guidedFilter (InputArray guide, InputArray src, OutputArray dst, int radius, double eps, int dDepth=-1) |
Simple one-line Guided Filter call. More... | |
void | cv::ximgproc::jointBilateralFilter (InputArray joint, InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT) |
Applies the joint bilateral filter to an image. More... | |
void cv::ximgproc::amFilter | ( | InputArray | joint, |
InputArray | src, | ||
OutputArray | dst, | ||
double | sigma_s, | ||
double | sigma_r, | ||
bool | adjust_outliers = false |
||
) |
Simple one-line Adaptive Manifold Filter call.
joint | joint (also called as guided) image or array of images with any numbers of channels. |
src | filtering image with any numbers of channels. |
dst | output image. |
sigma_s | spatial standard deviation. |
sigma_r | color space standard deviation, it is similar to the sigma in the color space into bilateralFilter. |
adjust_outliers | optional, specify perform outliers adjust operation or not, (Eq. 9) in the original paper. |
Ptr<AdaptiveManifoldFilter> cv::ximgproc::createAMFilter | ( | double | sigma_s, |
double | sigma_r, | ||
bool | adjust_outliers = false |
||
) |
Factory method, create instance of AdaptiveManifoldFilter and produce some initialization routines.
sigma_s | spatial standard deviation. |
sigma_r | color space standard deviation, it is similar to the sigma in the color space into bilateralFilter. |
adjust_outliers | optional, specify perform outliers adjust operation or not, (Eq. 9) in the original paper. |
For more details about Adaptive Manifold Filter parameters, see the original article [50] .
Ptr<DTFilter> cv::ximgproc::createDTFilter | ( | InputArray | guide, |
double | sigmaSpatial, | ||
double | sigmaColor, | ||
int | mode = DTF_NC , |
||
int | numIters = 3 |
||
) |
Factory method, create instance of DTFilter and produce initialization routines.
guide | guided image (used to build transformed distance, which describes edge structure of guided image). |
sigmaSpatial | \({\sigma}_H\) parameter in the original article, it's similar to the sigma in the coordinate space into bilateralFilter. |
sigmaColor | \({\sigma}_r\) parameter in the original article, it's similar to the sigma in the color space into bilateralFilter. |
mode | one form three modes DTF_NC, DTF_RF and DTF_IC which corresponds to three modes for filtering 2D signals in the article. |
numIters | optional number of iterations used for filtering, 3 is quite enough. |
For more details about Domain Transform filter parameters, see the original article [49] and Domain Transform filter homepage.
Ptr<GuidedFilter> cv::ximgproc::createGuidedFilter | ( | InputArray | guide, |
int | radius, | ||
double | eps | ||
) |
Factory method, create instance of GuidedFilter and produce initialization routines.
guide | guided image (or array of images) with up to 3 channels, if it have more then 3 channels then only first 3 channels will be used. |
radius | radius of Guided Filter. |
eps | regularization term of Guided Filter. \({eps}^2\) is similar to the sigma in the color space into bilateralFilter. |
For more details about Guided Filter parameters, see the original article [59] .
void cv::ximgproc::dtFilter | ( | InputArray | guide, |
InputArray | src, | ||
OutputArray | dst, | ||
double | sigmaSpatial, | ||
double | sigmaColor, | ||
int | mode = DTF_NC , |
||
int | numIters = 3 |
||
) |
Simple one-line Domain Transform filter call. If you have multiple images to filter with the same guided image then use DTFilter interface to avoid extra computations on initialization stage.
guide | guided image (also called as joint image) with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels. |
src | filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels. |
dst | |
sigmaSpatial | \({\sigma}_H\) parameter in the original article, it's similar to the sigma in the coordinate space into bilateralFilter. |
sigmaColor | \({\sigma}_r\) parameter in the original article, it's similar to the sigma in the color space into bilateralFilter. |
mode | one form three modes DTF_NC, DTF_RF and DTF_IC which corresponds to three modes for filtering 2D signals in the article. |
numIters | optional number of iterations used for filtering, 3 is quite enough. |
void cv::ximgproc::guidedFilter | ( | InputArray | guide, |
InputArray | src, | ||
OutputArray | dst, | ||
int | radius, | ||
double | eps, | ||
int | dDepth = -1 |
||
) |
Simple one-line Guided Filter call.
If you have multiple images to filter with the same guided image then use GuidedFilter interface to avoid extra computations on initialization stage.
guide | guided image (or array of images) with up to 3 channels, if it have more then 3 channels then only first 3 channels will be used. |
src | filtering image with any numbers of channels. |
dst | output image. |
radius | radius of Guided Filter. |
eps | regularization term of Guided Filter. \({eps}^2\) is similar to the sigma in the color space into bilateralFilter. |
dDepth | optional depth of the output image. |
void cv::ximgproc::jointBilateralFilter | ( | InputArray | joint, |
InputArray | src, | ||
OutputArray | dst, | ||
int | d, | ||
double | sigmaColor, | ||
double | sigmaSpace, | ||
int | borderType = BORDER_DEFAULT |
||
) |
Applies the joint bilateral filter to an image.
joint | Joint 8-bit or floating-point, 1-channel or 3-channel image. |
src | Source 8-bit or floating-point, 1-channel or 3-channel image with the same depth as joint image. |
dst | Destination image of the same size and type as src . |
d | Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace . |
sigmaColor | Filter sigma in the color space. A larger value of the parameter means that farther colors within the pixel neighborhood (see sigmaSpace ) will be mixed together, resulting in larger areas of semi-equal color. |
sigmaSpace | Filter sigma in the coordinate space. A larger value of the parameter means that farther pixels will influence each other as long as their colors are close enough (see sigmaColor ). When d>0 , it specifies the neighborhood size regardless of sigmaSpace . Otherwise, d is proportional to sigmaSpace . |
borderType |