Modeling Guide for SAP Data Hub

Bilateral Filter

The Bilateral Filter operator performs bilateral filter on the image.

Configuration Parameters

Parameter

Type

Description

diameter

int

Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace.

sigmaColor

float

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

float

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

Input

Input

Type

Description

imageIn

message.python.image

Input image

Output

Output

Type

Description

imageOut

message.python.image

Output image