Experimental
Computes a high-pass residual by subtracting bilateral smoothing from the input raster.
raster image filter high-pass legacy-port
| Name | Description | Required | Default |
|---|---|---|---|
input | Input raster path or typed raster object. | Required | input.tif |
sigma_dist | Standard deviation of the spatial (distance) Gaussian kernel, in pixels (0.5–20.0, default 0.75). | Optional | 0.75 |
sigma_int | Standard deviation of the intensity Gaussian kernel, in raster-value units (default 1.0). | Optional | 1.0 |
treat_as_rgb | Set true to force HSI-intensity filtering for packed RGB rasters before high-pass differencing. | Optional | False |
assume_three_band_rgb | When true (default), and no explicit color metadata is present, allow 3-band uint8/uint16 RGB interpretation. | Optional | True |
output | Optional output file path. If omitted, output remains in memory. | Optional | — |
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)