Experimental

Computes a high-pass residual by subtracting bilateral smoothing from the input raster.

raster image filter high-pass legacy-port

Parameters

NameDescriptionRequiredDefault
inputInput raster path or typed raster object.Requiredinput.tif
sigma_distStandard deviation of the spatial (distance) Gaussian kernel, in pixels (0.5–20.0, default 0.75).Optional0.75
sigma_intStandard deviation of the intensity Gaussian kernel, in raster-value units (default 1.0).Optional1.0
treat_as_rgbSet true to force HSI-intensity filtering for packed RGB rasters before high-pass differencing.OptionalFalse
assume_three_band_rgbWhen true (default), and no explicit color metadata is present, allow 3-band uint8/uint16 RGB interpretation.OptionalTrue
outputOptional output file path. If omitted, output remains in memory.Optional

Examples

Applies high-pass bilateral filtering to emphasize local texture.

wbe.high_pass_bilateral_filter(assume_three_band_rgb=True, input='image.tif', output='image_highpass_bilateral.tif', sigma_dist=1.5, sigma_int=25.0, treat_as_rgb=False)

Project Links

WbW Homepage User Manual Learn More