edgePreservingFilter function
Mat
edgePreservingFilter(
- InputArray src, {
- int flags = 1,
- double sigmaS = 60,
- double sigmaR = 0.4,
EdgePreservingFilter filtering is the fundamental operation in image and video processing. Edge-preserving smoothing filters are used in many different applications. For further details, please see: https://docs.opencv.org/4.x/df/dac/group__photo__render.html#gafaee2977597029bc8e35da6e67bd31f7
Implementation
//
/// For further details, please see:
/// https://docs.opencv.org/4.x/df/dac/group__photo__render.html#gafaee2977597029bc8e35da6e67bd31f7
Mat edgePreservingFilter(
InputArray src, {
int flags = 1,
double sigmaS = 60,
double sigmaR = 0.4,
}) {
final dst = Mat.empty();
cvRun(
() => cphoto.EdgePreservingFilter(src.ref, dst.ref, flags, sigmaS, sigmaR),
);
return dst;
}