Page 1 of 1

Command-line support for Scalar Field Gaussian/Bilateral filter

Posted: Fri Jan 16, 2026 9:25 am
by Radim
Hi all,
I would like to ask / propose exposing the existing Scalar Field
Gaussian/Bilateral filter to the command-line interface.

Currently:
- Gaussian and Bilateral filters for Scalar Fields are available in the GUI
(Edit > Scalar fields > Gaussian / Bilateral filter).
- Internally, the functionality already exists
(ScalarFieldTools::applyScalarFieldGaussianFilter, with sigmaSF > 0
behaving as a bilateral filter).
- However, there is no equivalent command-line option to apply this filter.

This makes it difficult to build fully automated pipelines, for example:
- RGB -> Scalar Fields
- Apply Gaussian/Bilateral smoothing per channel (R, G, B)
- Save results without using the GUI or Python bindings.

A possible CLI command could look like:
-SF_BILATERAL_FILTER <radius> <sigmaSpatial> <sigmaSF>
or:
-SF_GAUSSIAN_FILTER <radius> <sigmaSpatial> <sigmaSF>

(where sigmaSF = 0 would behave as pure Gaussian).

If so, is there any other way around it?

Thanks for your time and reply

Radim

Re: Command-line support for Scalar Field Gaussian/Bilateral filter

Posted: Sat Jan 17, 2026 7:39 am
by daniel
These are new features of version 2.14.

See https://github.com/CloudCompare/CloudCo ... ANGELOG.md, there's some information at the beginning about a new command "-FILTER -RGB -SF..."

I'll update the Wiki ASAP.

Re: Command-line support for Scalar Field Gaussian/Bilateral filter

Posted: Mon Jan 19, 2026 12:29 pm
by Radim
Thank you!!