CudaInvokeBilateralFilter Method |
http://www.emgu.com
Applies bilateral filter to the image.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void BilateralFilter(
IInputArray src,
IOutputArray dst,
int kernelSize,
float sigmaColor,
float sigmaSpatial,
BorderType borderType = BorderType.Reflect101,
Stream stream = null
)
Public Shared Sub BilateralFilter (
src As IInputArray,
dst As IOutputArray,
kernelSize As Integer,
sigmaColor As Single,
sigmaSpatial As Single,
Optional borderType As BorderType = BorderType.Reflect101,
Optional stream As Stream = Nothing
)
public:
static void BilateralFilter(
IInputArray^ src,
IOutputArray^ dst,
int kernelSize,
float sigmaColor,
float sigmaSpatial,
BorderType borderType = BorderType::Reflect101,
Stream^ stream = nullptr
)
static member BilateralFilter :
src : IInputArray *
dst : IOutputArray *
kernelSize : int *
sigmaColor : float32 *
sigmaSpatial : float32 *
?borderType : BorderType *
?stream : Stream
(* Defaults:
let _borderType = defaultArg borderType BorderType.Reflect101
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
The source image - dst
- Type: Emgu.CVIOutputArray
The destination image; should have the same size and the same type as src - kernelSize
- Type: SystemInt32
The diameter of each pixel neighborhood, that is used during filtering. - sigmaColor
- Type: SystemSingle
Filter sigma in the color space. 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 - sigmaSpatial
- Type: SystemSingle
Filter sigma in the coordinate space. Larger value of the parameter means that farther pixels will influence each other (as long as their colors are close enough; see sigmaColor). Then d>0, it specifies the neighborhood size regardless of sigmaSpace, otherwise d is proportional to sigmaSpace. - borderType (Optional)
- Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method, use DEFAULT for default - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also