Command-line support for Scalar Field Gaussian/Bilateral filter

Feel free to ask any question here
Post Reply
Radim
Posts: 5
Joined: Fri Jan 16, 2026 9:16 am

Command-line support for Scalar Field Gaussian/Bilateral filter

Post 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
daniel
Site Admin
Posts: 8138
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

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

Post 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.
Daniel, CloudCompare admin
Radim
Posts: 5
Joined: Fri Jan 16, 2026 9:16 am

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

Post by Radim »

Thank you!!
Post Reply