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
Command-line support for Scalar Field Gaussian/Bilateral filter
Re: Command-line support for Scalar Field Gaussian/Bilateral filter
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.
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