<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cloudcompare.org/doc/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daniel</id>
	<title>CloudCompare wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.cloudcompare.org/doc/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daniel"/>
	<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php/Special:Contributions/Daniel"/>
	<updated>2026-05-10T09:11:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Rasterize&amp;diff=47856</id>
		<title>Rasterize</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Rasterize&amp;diff=47856"/>
		<updated>2026-04-13T21:01:59Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Menu / Icon =&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Rasterize&#039; menu or the [[Image:CcGrid_small.png]] icon in the upper main toolbar.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(Prior to version 2.6.1, this tool was named &#039;Height grid generation&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
The main purpose of this tool is to &#039;rasterize&#039; a point cloud (i.e. convert it to a 2.5D grid) and then export it as a new cloud or a raster image (geotiff) for instance.&lt;br /&gt;
&lt;br /&gt;
Another application since version 2.6.1 is &#039;Contour plot&#039; generation.&lt;br /&gt;
&lt;br /&gt;
= Procedure =&lt;br /&gt;
&lt;br /&gt;
Select one cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_input.jpg|frame|center|Input cloud]]&lt;br /&gt;
&lt;br /&gt;
A dedicated dialog with an embedded 3D view will appear. Some pieces of information about the selected cloud are displayed in the upper-left corner. The most important is the height range and the minimum and maximum height values of the cloud (&#039;&#039;the height being considered along the projection dimension&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Generating a raster grid ==&lt;br /&gt;
&lt;br /&gt;
The first and mandatory step is to generate the raster grid.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_dialog.jpg|frame|center|&#039;Rasterize&#039; tool dialog]]&lt;br /&gt;
&lt;br /&gt;
The user must define the main (raster) grid generation parameters:&lt;br /&gt;
* the grid step size (&#039;&#039;CloudCompare will update the resulting grid size below so that the user can check that the grid is neither too big nor too small before actually generating the grid&#039;&#039;)&lt;br /&gt;
* the projection direction (X, Y or Z - default: Z)&lt;br /&gt;
* how the &#039;height&#039; of each cell grid will be computed:&lt;br /&gt;
** minimum value of all points falling in this cell&lt;br /&gt;
** average value of all points falling in this cell&lt;br /&gt;
** maximum value of all points falling in this cell&lt;br /&gt;
** since version 2.13:&lt;br /&gt;
*** median value of all points falling in this cell&lt;br /&gt;
*** inverse variance: the height or scalar value of each cell is equal to a weighted average of the points falling inside the cell. The weights are equal to the inverse variance (= 1/std_dev^2). Standard deviation values (std_dev) are obtained from an already existing scalar field, which must be selected by the user.&lt;br /&gt;
* similarly, if the &#039;project SF(s)&#039; option is checked, scalar field values can be &#039;projected&#039; onto the raster as well. When multiple points/SF values fall inside the same raster cell, CC can extract the single SF value for this cell as:&lt;br /&gt;
** the minimum SF value&lt;br /&gt;
** the average SF value&lt;br /&gt;
** the maximum SF value&lt;br /&gt;
** the median SF value&lt;br /&gt;
** or the inverse variance&lt;br /&gt;
* &#039;&#039;&#039;since version 2.6.2 the user can choose the &#039;active layer&#039; that will be projected. The default layer is &#039;height grid values&#039; (i.e. the coordinate of the points along the projection dimension) but it can now be any scalar field associated to the selected cloud, the hillshade layer, the X-ray layer, etc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once the base parameters are properly set, the user must click on the &#039;Update grid&#039; button to make CloudCompare actually compute the grid and display it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Each time a parameter is modified, the &#039;Update grid&#039; button will appear in red. The user has to click on it to actually apply the changes.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Advanced parameters ==&lt;br /&gt;
&lt;br /&gt;
=== Empty cells ===&lt;br /&gt;
&lt;br /&gt;
If no point falls inside a given cell, this cell will be considered as &#039;empty&#039;. By default empty cells are not visible when displayed in the tool&#039;s 3D view. They generally have a dedicated &#039;NaN&#039; or &#039;empty&#039; value when exported to a raster file (depending on the format).&lt;br /&gt;
&lt;br /&gt;
It is possible to fill these cells in various ways:&lt;br /&gt;
* use the minimum height of the whole grid&lt;br /&gt;
* use the average height of the whole grid&lt;br /&gt;
* use the maximum height of the whole grid&lt;br /&gt;
* use a user specified value (should be input in the field below the &#039;Fill with&#039; drop-down list)&lt;br /&gt;
* interpolate (see below)&lt;br /&gt;
&lt;br /&gt;
=== Interpolating empty cells ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Interpolate&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &#039;interpolate&#039; option consists in a linear interpolation with the nearest non-empty neighboring cells. It relies on Delaunay triangulation.&lt;br /&gt;
&lt;br /&gt;
This can give very good results in the presence of small holes. However it can be less realistic on large holes. &#039;&#039;&#039;The biggest limitation is that it&#039;s limited to the convex hull of the non-empty cells&#039;&#039;&#039;. Therefore a custom/default value must still be specified in the field below the &#039;Fill with&#039; drop-down list to fill the remaining empty areas (if any).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_interpolation_small.jpg|frame|center|Interpolation principle]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Kriging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is now possible to use a Kriging algorithm to fill the empty cells. While this option may take more time to compute, it allows to interpolate cells all over the raster grid and not only inside the non-empty cells convex hull.&lt;br /&gt;
&lt;br /&gt;
[[Image:Rasterize_kriging.JPG|frame|center|Kriging interpolation option]]&lt;br /&gt;
&lt;br /&gt;
=== Grid position ===&lt;br /&gt;
&lt;br /&gt;
The grid position (in the projection plane) can be finely defined by clicking on the &#039;Edit grid&#039; button:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_bb_edit_dialog.jpg|frame|center|Grid extents setup dialog]]&lt;br /&gt;
&lt;br /&gt;
Warning: the Rasterize tool grid uses the &#039;[https://www.usna.edu/Users/oceano/pguth/md_help/html/PixelIsWhat.html pixel-is-area]&#039; convention but the grid itself is centered on the boundary pixel centers. The grid min corner coordinates correspond to the lower left raster cell &#039;&#039;&#039;center&#039;&#039;&#039;, and the grid max corner coordinates correspond to the upper right raster cell &#039;&#039;&#039;center&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:Raster_grid.jpg|frame|center|Raster grid]]&lt;br /&gt;
&lt;br /&gt;
=== Interpolate scalar fields ===&lt;br /&gt;
&lt;br /&gt;
If the input cloud has one or several scalar fields, it is possible to &#039;interpolate&#039; the scalar field values in each grid cell.&lt;br /&gt;
&lt;br /&gt;
To do this the user has to check the &#039;interpolate SF(s)&#039; checkbox and define how this interpolation should be conducted:&lt;br /&gt;
* by keeping the minimum SF value of all the points falling in this cell&lt;br /&gt;
* by keeping the average SF value of all the points falling in this cell&lt;br /&gt;
* by keeping the maximum SF value of all the points falling in this cell&lt;br /&gt;
* since version 2.13:&lt;br /&gt;
** median value&lt;br /&gt;
** inverse variance&lt;br /&gt;
&lt;br /&gt;
Note: interpolated scalar fields can only be used when exporting the raster grid as a new cloud or as a raster file in a formats that supports real-valued layers.&lt;br /&gt;
&lt;br /&gt;
=== Resample input cloud ===&lt;br /&gt;
&lt;br /&gt;
This option tells CloudCompare to keep in each grid cell the point from the input cloud which is the closest to the cell center (instead of the cell center itself). This way it is possible to subsample the cloud in a semi-gridded pattern. If the grid is to be exported as a cloud, all the input cloud features (colors, normals, etc.) can be properly exported as well.&lt;br /&gt;
&lt;br /&gt;
Since version 2.7 the resample option can now be used with the &#039;average height&#039; projection. In this case only the 2D coordinates of the original point are kept (&#039;&#039;the point which is the closest to the cell center&#039;&#039;) and the height is replaced by the average cell height.&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
&lt;br /&gt;
The (raster) grid can be exported to several destinations.&lt;br /&gt;
&lt;br /&gt;
=== Cloud ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a new cloud (&#039;&#039;see the &amp;quot;Cloud&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
The grid is always exported as a 3D cloud (with the chosen &#039;height&#039; as the &#039;Z&#039; dimension). A &#039;height&#039; scalar field is also generated by default.&lt;br /&gt;
&lt;br /&gt;
Several additional scalar fields can be generated:&lt;br /&gt;
* &#039;population&#039;: number of input points falling in each cell&lt;br /&gt;
* &#039;min&#039;: minimum height of the points falling in each cell&lt;br /&gt;
* &#039;average&#039;: average height of the points falling in each cell (&#039;&#039;may be redundant with the default &#039;height&#039; scalar field&#039;&#039;)&lt;br /&gt;
* &#039;max&#039;: maximum height of the points falling in each cell (&#039;&#039;may be redundant with the default &#039;height&#039; scalar field&#039;&#039;)&lt;br /&gt;
* &#039;std. dev.&#039;: standard deviation of the height values of the points falling in each cell&lt;br /&gt;
* &#039;range&#039;: range of the height values of the points falling in each cell&lt;br /&gt;
* Since version 2.13:&lt;br /&gt;
** &#039;unique val.&#039;: the number of uniques values inside each cell&lt;br /&gt;
** &#039;median&#039;: median value&lt;br /&gt;
** &#039;percentile&#039; + percentage: highest value of the given percentage of points (sorted)&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now also possible to choose whether the above statistics should be applied to &#039;height&#039; values, all the &#039;scalar fields&#039; or both (with checkboxes).&lt;br /&gt;
&lt;br /&gt;
=== Raster ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a geotiff raster file (&#039;&#039;see the &amp;quot;Raster (geotiff)&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
Note: CloudCompare relies on [http://en.wikipedia.org/wiki/GDAL GDAL] for this operation.&lt;br /&gt;
&lt;br /&gt;
=== Image ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a simple image file. Use the &#039;Image&#039; button (&#039;&#039;see the &amp;quot;Image&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=== ASCII matrix ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as an array/matrix of height values saved as an ASCII file (&#039;&#039;see the &amp;quot;Matrix (text file)&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
This file should be easily imported in Excel for Matlab for instance. There&#039;s no file header. The number of rows is simply the number of lines in the file, and the number of columns corresponds to the number of values found on each line (should always be the same).&lt;br /&gt;
&lt;br /&gt;
=== Mesh ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a 2.5D mesh (&#039;&#039;see the &amp;quot;Mesh&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Contour plot generation ==&lt;br /&gt;
&lt;br /&gt;
Since version 2.6.1, the Rasterize tool can now be used to generate contour plots.&lt;br /&gt;
&lt;br /&gt;
The parameters for this sub-tool are all regrouped in the &#039;Contour plot&#039; tab in the bottom-left part:&lt;br /&gt;
[[Image:Cc_rasterize_contour_plot_params.jpg|frame|center|Contour plot generation parameters (version 2.6.2)]]&lt;br /&gt;
&lt;br /&gt;
The user must specify:&lt;br /&gt;
* Start height: height of the first contour line&lt;br /&gt;
* Step: step between each contour line&lt;br /&gt;
* Min. vertex: minimum number of vertices per lines (used to remove the very small contours around trees, etc.)&lt;br /&gt;
* ignore borders: to remove the contour lines created on the grid (square) edges&lt;br /&gt;
&lt;br /&gt;
The first time, and each time the parameters are changed or the grid is updated, the user must click on the &#039;Generate&#039; button to generate the contour plot. Then a preview of the generated contour lines will be displayed over the raster grid:&lt;br /&gt;
[[Image:Cc_rasterize_contour_plot_preview.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
The user can pan and zoom the 3D view to view it better. The point size can also be modified in the standard way (+/- interactors appear when the mouse hovers the top-left part of the 3D view).&lt;br /&gt;
&lt;br /&gt;
The resulting contour lines can be removed (with the &#039;Clear&#039; button) or exported as real polylines in the DB tree (with the &#039;Generate&#039; button). All contour lines are exported in a single group (automatically named after the input cloud name and the &#039;Step&#039; value).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_contour_plot_exported.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the (group of) contour lines can be exported as a Shape file (to be imported in a GIS software for instance).&lt;br /&gt;
* if the user has forgotten to export the contour lines when closing the tool, CloudCompare will issue a warning message and will ask for confirmation.&lt;br /&gt;
&lt;br /&gt;
=== Since version 2.6.2 ===&lt;br /&gt;
&lt;br /&gt;
* the &#039;active layer&#039; is used to compute the contour lines (&#039;&#039;&#039;this way contour lines can be computed on any scalar field&#039;&#039;&#039;)&lt;br /&gt;
* the default width of contour lines can be set prior to generating them&lt;br /&gt;
* the contour lines can be colored based on their height (with the active layer color ramp) - use the &#039;colorize&#039; check box&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_colored_contour_lines.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
== Hillshade / X-ray ==&lt;br /&gt;
&lt;br /&gt;
Since version 2.6.3, the Rasterize tool can generate an hillshade layer:&lt;br /&gt;
[[Image:Cc_rasterize_hillshade.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Once the grid has been generated:&lt;br /&gt;
* click on the &#039;Hillshade / X-ray&#039; tab&lt;br /&gt;
* set the right parameters (sun position)&lt;br /&gt;
* click on &#039;Generate hillshade&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, the Rasterize tool can generate an X-ray layer, with a very similar process:&lt;br /&gt;
[[Image:X-ray.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Once the grid has been generated:&lt;br /&gt;
* click on the &#039;Hillshade / X-ray&#039; tab&lt;br /&gt;
* click on &#039;Generate X-ray scalar field&#039;&lt;br /&gt;
&lt;br /&gt;
Note that these layers will disappear each time the &#039;Update grid&#039; button is clicked&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=File:X-ray.jpg&amp;diff=47855</id>
		<title>File:X-ray.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=File:X-ray.jpg&amp;diff=47855"/>
		<updated>2026-04-13T21:01:49Z</updated>

		<summary type="html">&lt;p&gt;Daniel: Rasterize X-ray SF calculation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Rasterize X-ray SF calculation&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47854</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47854"/>
		<updated>2026-01-17T08:26:25Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius} [-WITH_GRIDS {angle}] [-ORIENT WITH_GRIDS/WITH_SENSOR]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
since version 2.14 additional settings are:&lt;br /&gt;
* -WITH_GRIDS {angle}&lt;br /&gt;
** to compute scan grids to compute normals (with a maximum scattering angle between neighboring cells)&lt;br /&gt;
* -ORIENT WITH_GRIDS / WITH_SENSOR&lt;br /&gt;
** WITH_GRIDS: to use scan grids to orient normals&lt;br /&gt;
** WITH_SENSOR: to use sensor(s) to orient normals&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORM_TO_SF {X/Y/Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CExport_normals_to_SF(s) | exports the specified normal components]] to scalar fields.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{X/Y/Z} is any combination of X, Y and Z, such as &#039;XYZ&#039;, &#039;XZ&#039; or &#039;Y&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -NORM_TO_SF XYZ (to extract a scalar field for each of the 3 components Nx, Ny and Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_NORM {SFxIndex} {SFyIndex} {SFzIndex}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CSet_SF(s)_as_normal | set the specified scalar field values as normal components]] of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{SFnIndex} can be a numerical index, a name or &#039;LAST&#039;, or -1 if the dimension should not be initialized from a SF (in which case it will be left at its previous value, or 0 if no normal was previously set)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -SF_TO_NORM 0 -1 1 (to set the first scalar field as Nx, nothing for Nz, and the second scalar field as Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER -RGB -SF {-MEAN|-MEDIAN|GAUSSIAN|BILATERAL} -SIGMA {sigma} -SIGMA_SF {sigma_sf} -BURNT_COLOR_THRESHOLD {burnt_color_threshold} -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies either the mean, median, gaussian or bilateral filter on the active scalar field and/or on the RGB values (introduced in version 2.14).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Command arguments with a dash can be in any order&lt;br /&gt;
* -RGB runs the filter on color&lt;br /&gt;
* -SF runs the filter on the active scalar field&lt;br /&gt;
* -RGB and -SF can be used at the same time, otherwise at least one of the 2 options is required&lt;br /&gt;
* -MEAN|-MEDIAN|GAUSSIAN|BILATERAL specifies the filtering algorithm to use (required, only one should be set - however, if multiple are passed, only the first one will be considered)&lt;br /&gt;
* -BURNT_COLOR_THRESHOLD {burnt_color_threshold} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** discards points for calculations if their R,G,B values are out of the [burnt_color_threshold;255-burnt_color_threshold] range.&lt;br /&gt;
** {burnt_color_threshold} is an integer between 0 and 255&lt;br /&gt;
** default value is 0, so all points are used&lt;br /&gt;
* -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** if the set of neighbors around each point contains more than {grayscale_percent}% of grayscale colors, only grayscale colors will be used.&lt;br /&gt;
** a color is considered as &#039;gray&#039; when (R + G + B) / 3 - {grayscale_threshold} &amp;lt;= [R,G,B] &amp;lt;= (R + G + B) / 3 + {grayscale_threshold}&lt;br /&gt;
** {grayscale_threshold} is a strictly positive integer (HINT: use a small value between 1 and 10)&lt;br /&gt;
** {grayscale_percent} is an integer between 0 and 100 to decide when to consider colors as grayscale instead of RGB&lt;br /&gt;
* -SIGMA {sigma} (optional)&lt;br /&gt;
** nearest neighbours extracted with a radius of 3*sigma. If not set, CloudCompare will calculate a default value.&lt;br /&gt;
* -SIGMA_SF {sigma_sf} (optional, only used when bilateral filter applied)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-NOT_IN_PLACE&amp;lt;/code&amp;gt; to force the creation of a new SF (since version 2.14)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.14, it is possible to use MIN/DISP_MIN/SAT_MIN/N_SIGMA_MIN/MAX/DISP_MAX/SAT_MAX/N_SIGMA_MAX as input values&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST_IS_FIRST} {-INTERP_NN k} {-INTERP_RADIUS r}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: before version 2.14.beta, the command line was always using the same options:&lt;br /&gt;
* interpolation method: nearest neighbor&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius&lt;br /&gt;
&lt;br /&gt;
Since version 2.144.beta, it&#039;s now possible to specify the interpolation method:&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_NN k&#039; to use nearest neighbors interpolation (k = number of neighbors)&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_RADIUS r&#039; to use interpolation inside a sphere (r = sphere radius)&lt;br /&gt;
(these new options must always be placed last)&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DISTANCES_FROM_SENSOR [-SQUARED]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes distances from every point of the cloud to the associated sensor origin (if any).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* -SQUARED: computes squared distances instead&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the default scalar field name will be &#039;Ranges&#039; if not squared, or &#039;Ranges (squared)&#039; otherwise. Scalar field will be overwritten if already present.&lt;br /&gt;
* since version 2.14&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SCATTERING_ANGLES [-DEGREES]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes compute the scattering angle from every point of the cloud (and its associated normal) w.r.t. to the associated sensor (if any).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* -DEGREES: computes angles in degrees instead of radians&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the default scalar field name will be &#039;Scattering angles (rad)&#039; or &#039;Scattering angles (deg)&#039;. Scalar field will be overwritten if already present.&lt;br /&gt;
* since version 2.14&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
See [https://www.cloudcompare.org/doc/wiki/index.php/M3C2_(plugin)#Command_line]&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FACETS {options}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[Facets_(plugin) | Facets]] plugin (if available).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
See [https://www.cloudcompare.org/doc/wiki/index.php/Facets_(plugin)#Command_line_(since_version_2.14)]&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.14&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
* since version 2.14, the output cloud names are now {original cloud name} + &#039;_ground_points&#039; and {original cloud name} + &#039;_offground_points&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
* since version 2.14, secondary extensions can also be used (LAZ, etc.)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY (default)&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47853</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47853"/>
		<updated>2026-01-17T07:57:25Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.14.alpha) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORM_TO_SF {X/Y/Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CExport_normals_to_SF(s) | exports the specified normal components]] to scalar fields.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{X/Y/Z} is any combination of X, Y and Z, such as &#039;XYZ&#039;, &#039;XZ&#039; or &#039;Y&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -NORM_TO_SF XYZ (to extract a scalar field for each of the 3 components Nx, Ny and Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_NORM {SFxIndex} {SFyIndex} {SFzIndex}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CSet_SF(s)_as_normal | set the specified scalar field values as normal components]] of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{SFnIndex} can be a numerical index, a name or &#039;LAST&#039;, or -1 if the dimension should not be initialized from a SF (in which case it will be left at its previous value, or 0 if no normal was previously set)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -SF_TO_NORM 0 -1 1 (to set the first scalar field as Nx, nothing for Nz, and the second scalar field as Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER -RGB -SF {-MEAN|-MEDIAN|GAUSSIAN|BILATERAL} -SIGMA {sigma} -SIGMA_SF {sigma_sf} -BURNT_COLOR_THRESHOLD {burnt_color_threshold} -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies either the mean, median, gaussian or bilateral filter on the active scalar field and/or on the RGB values (introduced in version 2.14).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Command arguments with a dash can be in any order&lt;br /&gt;
* -RGB runs the filter on color&lt;br /&gt;
* -SF runs the filter on the active scalar field&lt;br /&gt;
* -RGB and -SF can be used at the same time, otherwise at least one of the 2 options is required&lt;br /&gt;
* -MEAN|-MEDIAN|GAUSSIAN|BILATERAL specifies the filtering algorithm to use (required, only one should be set - however, if multiple are passed, only the first one will be considered)&lt;br /&gt;
* -BURNT_COLOR_THRESHOLD {burnt_color_threshold} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** discards points for calculations if their R,G,B values are out of the [burnt_color_threshold;255-burnt_color_threshold] range.&lt;br /&gt;
** {burnt_color_threshold} is an integer between 0 and 255&lt;br /&gt;
** default value is 0, so all points are used&lt;br /&gt;
* -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** if the set of neighbors around each point contains more than {grayscale_percent}% of grayscale colors, only grayscale colors will be used.&lt;br /&gt;
** a color is considered as &#039;gray&#039; when (R + G + B) / 3 - {grayscale_threshold} &amp;lt;= [R,G,B] &amp;lt;= (R + G + B) / 3 + {grayscale_threshold}&lt;br /&gt;
** {grayscale_threshold} is a strictly positive integer (HINT: use a small value between 1 and 10)&lt;br /&gt;
** {grayscale_percent} is an integer between 0 and 100 to decide when to consider colors as grayscale instead of RGB&lt;br /&gt;
* -SIGMA {sigma} (optional)&lt;br /&gt;
** nearest neighbours extracted with a radius of 3*sigma. If not set, CloudCompare will calculate a default value.&lt;br /&gt;
* -SIGMA_SF {sigma_sf} (optional, only used when bilateral filter applied)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-NOT_IN_PLACE&amp;lt;/code&amp;gt; to force the creation of a new SF (since version 2.14)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST_IS_FIRST} {-INTERP_NN k} {-INTERP_RADIUS r}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: before version 2.14.beta, the command line was always using the same options:&lt;br /&gt;
* interpolation method: nearest neighbor&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius&lt;br /&gt;
&lt;br /&gt;
Since version 2.144.beta, it&#039;s now possible to specify the interpolation method:&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_NN k&#039; to use nearest neighbors interpolation (k = number of neighbors)&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_RADIUS r&#039; to use interpolation inside a sphere (r = sphere radius)&lt;br /&gt;
(these new options must always be placed last)&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=Plugins=&lt;br /&gt;
&lt;br /&gt;
Some plugins have their own command line options. See for instance:&lt;br /&gt;
* [https://www.cloudcompare.org/doc/wiki/index.php/M3C2_(plugin)#Command_line M3C2]&lt;br /&gt;
* [https://www.cloudcompare.org/doc/wiki/index.php/Facets_(plugin)#Command_line_(since_version_2.14) Facets]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47852</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47852"/>
		<updated>2026-01-17T07:57:15Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORM_TO_SF {X/Y/Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CExport_normals_to_SF(s) | exports the specified normal components]] to scalar fields.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{X/Y/Z} is any combination of X, Y and Z, such as &#039;XYZ&#039;, &#039;XZ&#039; or &#039;Y&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -NORM_TO_SF XYZ (to extract a scalar field for each of the 3 components Nx, Ny and Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_NORM {SFxIndex} {SFyIndex} {SFzIndex}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CSet_SF(s)_as_normal | set the specified scalar field values as normal components]] of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{SFnIndex} can be a numerical index, a name or &#039;LAST&#039;, or -1 if the dimension should not be initialized from a SF (in which case it will be left at its previous value, or 0 if no normal was previously set)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -SF_TO_NORM 0 -1 1 (to set the first scalar field as Nx, nothing for Nz, and the second scalar field as Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER -RGB -SF {-MEAN|-MEDIAN|GAUSSIAN|BILATERAL} -SIGMA {sigma} -SIGMA_SF {sigma_sf} -BURNT_COLOR_THRESHOLD {burnt_color_threshold} -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies either the mean, median, gaussian or bilateral filter on the active scalar field and/or on the RGB values (introduced in version 2.14).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Command arguments with a dash can be in any order&lt;br /&gt;
* -RGB runs the filter on color&lt;br /&gt;
* -SF runs the filter on the active scalar field&lt;br /&gt;
* -RGB and -SF can be used at the same time, otherwise at least one of the 2 options is required&lt;br /&gt;
* -MEAN|-MEDIAN|GAUSSIAN|BILATERAL specifies the filtering algorithm to use (required, only one should be set - however, if multiple are passed, only the first one will be considered)&lt;br /&gt;
* -BURNT_COLOR_THRESHOLD {burnt_color_threshold} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** discards points for calculations if their R,G,B values are out of the [burnt_color_threshold;255-burnt_color_threshold] range.&lt;br /&gt;
** {burnt_color_threshold} is an integer between 0 and 255&lt;br /&gt;
** default value is 0, so all points are used&lt;br /&gt;
* -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** if the set of neighbors around each point contains more than {grayscale_percent}% of grayscale colors, only grayscale colors will be used.&lt;br /&gt;
** a color is considered as &#039;gray&#039; when (R + G + B) / 3 - {grayscale_threshold} &amp;lt;= [R,G,B] &amp;lt;= (R + G + B) / 3 + {grayscale_threshold}&lt;br /&gt;
** {grayscale_threshold} is a strictly positive integer (HINT: use a small value between 1 and 10)&lt;br /&gt;
** {grayscale_percent} is an integer between 0 and 100 to decide when to consider colors as grayscale instead of RGB&lt;br /&gt;
* -SIGMA {sigma} (optional)&lt;br /&gt;
** nearest neighbours extracted with a radius of 3*sigma. If not set, CloudCompare will calculate a default value.&lt;br /&gt;
* -SIGMA_SF {sigma_sf} (optional, only used when bilateral filter applied)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-NOT_IN_PLACE&amp;lt;/code&amp;gt; to force the creation of a new SF (since version 2.14)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST_IS_FIRST} {-INTERP_NN k} {-INTERP_RADIUS r}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: before version 2.14.beta, the command line was always using the same options:&lt;br /&gt;
* interpolation method: nearest neighbor&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius&lt;br /&gt;
&lt;br /&gt;
Since version 2.144.beta, it&#039;s now possible to specify the interpolation method:&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_NN k&#039; to use nearest neighbors interpolation (k = number of neighbors)&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_RADIUS r&#039; to use interpolation inside a sphere (r = sphere radius)&lt;br /&gt;
(these new options must always be placed last)&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=Plugins=&lt;br /&gt;
&lt;br /&gt;
Some plugins have their own command line options. See for instance:&lt;br /&gt;
* [https://www.cloudcompare.org/doc/wiki/index.php/M3C2_(plugin)#Command_line M3C2]&lt;br /&gt;
* [https://www.cloudcompare.org/doc/wiki/index.php/Facets_(plugin)#Command_line_(since_version_2.14) Facets]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Facets_(plugin)&amp;diff=47851</id>
		<title>Facets (plugin)</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Facets_(plugin)&amp;diff=47851"/>
		<updated>2026-01-17T07:56:56Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
The qFacets plugin can:&lt;br /&gt;
* automatically extract planar facets (e.g. fracture planes) from point clouds&lt;br /&gt;
* export the facets to SHP files&lt;br /&gt;
* classify the facets based on their orientation and their (orthogonal) distance&lt;br /&gt;
* display the orientations on a [https://en.wikipedia.org/wiki/Stereographic_projection stereogram/stereoplot]&lt;br /&gt;
* filter the facets (or the points if they have normals) based on their orientation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:LogoBRGM.png]]&lt;br /&gt;
&lt;br /&gt;
This plugin has been created and financed by Thomas Dewez, [http://www.brgm.eu/ BRGM]&lt;br /&gt;
&lt;br /&gt;
To cite this plugin you can refer to [http://www.int-arch-photogramm-remote-sens-spatial-inf-sci.net/XLI-B5/799/2016/ this article]:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Dewez, T. J. B., Girardeau-Montaut, D., Allanic, C., and Rohmer, J.: FACETS : A CLOUDCOMPARE PLUGIN TO EXTRACT GEOLOGICAL PLANES FROM UNSTRUCTURED 3D POINT CLOUDS, Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci., XLI-B5, 799-804, doi:10.5194/isprs-archives-XLI-B5-799-2016, 2016. &amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative link: [https://www.researchgate.net/publication/304027098_FACETS_A_CLOUDCOMPARE_PLUGIN_TO_EXTRACT_GEOLOGICAL_PLANES_FROM_UNSTRUCTURED_3D_POINT_CLOUDS?_iepl%5BviewId%5D=pczWVfoQ44PTszGzwwcyghJP&amp;amp;_iepl%5Bcontexts%5D%5B0%5D=timeline&amp;amp;_iepl%5Bdata%5D%5BactivityData%5D%5BactivityId%5D=304027098&amp;amp;_iepl%5Bdata%5D%5BactivityData%5D%5BactivityType%5D=Publication&amp;amp;_iepl%5Bdata%5D%5BactivityData%5D%5BactivityTimestamp%5D=1466035200&amp;amp;_iepl%5Bdata%5D%5BviewType%5D=self&amp;amp;_iepl%5BinteractionType%5D=publicationClickThrough Research gate].&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
Two algorithms are available to extract planar facets.&lt;br /&gt;
&lt;br /&gt;
== Extract planar facets with a kd-tree ==&lt;br /&gt;
&lt;br /&gt;
This method relies on a [https://en.wikipedia.org/wiki/K-d_tree kd-tree] to recursively divide the cloud in small planar patches. These planar patches are then regrouped in bigger &#039;facets&#039;.&lt;br /&gt;
&lt;br /&gt;
To use it, simply highlight the point cloud and click on the [[File:extractKD.png]] icon.&lt;br /&gt;
&lt;br /&gt;
The following parameters dialog will appear:&lt;br /&gt;
[[File:qFacetsKdDialog.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These parameters are used to conduct the fusion process of the small patches (to create the bigger facets):&lt;br /&gt;
* Kd-tree cells fusion parameters:&lt;br /&gt;
** Max angle: maximum angle between neighbor patches (in degrees)&lt;br /&gt;
** Max relative distance: maximum distance between the merged patches and the current facet center&lt;br /&gt;
* Facets frame:&lt;br /&gt;
** Distance criterion: this criterion is used to estimate whether a facet is still &#039;flat&#039; enough after merging a new patch or not. For instance &#039;Max distance @ 99%&#039; means that 99% of points have to be closer to the value specified in the field on the right (&#039;&#039;0.2 in the above example&#039;&#039;)&lt;br /&gt;
** Min points per facet: facets smaller than this value will be discarded&lt;br /&gt;
** Max edge length: parameter used to extract the facet (concave) contour (the smaller the closer to the points the contour should be)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:qFacetsKdOutput.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clicking on the &#039;OK&#039; button, CloudCompare will first compute the kd-tree and then it will start the cell fusion process. This second process can be quite long depending on the parameters (especially if many small planar patches are merged in a single facet). However the more it goes the faster it is as there are less and less remaining patches.&lt;br /&gt;
&lt;br /&gt;
== Extract planar facets with a Fast Marching ==&lt;br /&gt;
&lt;br /&gt;
This method resembles the previous one. The idea is once again to divide the input cloud in smaller patches and then to regroup them. This time the subdivision is systematic and not recursive. Therefore all the patches will have almost the same size but some may be very flat while others not (depending on the resolution). And the fusion process is based on a (Fast Marching) front propagation.&lt;br /&gt;
&lt;br /&gt;
To use it, simply highlight the point cloud and click on the [[File:extractFM.png]] icon.&lt;br /&gt;
&lt;br /&gt;
The following parameters dialog will appear:&lt;br /&gt;
[[File:QFacetsFMDialog.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
For the Fast Marching process two parameters can be set by the user:&lt;br /&gt;
* the grid resolution (expressed as the subdivision level of the cloud octree as we use the octree for a faster initialization)&lt;br /&gt;
* whether to re-compute the facet retro-projection error each time a patch is merged (slower but more accurate)&lt;br /&gt;
&lt;br /&gt;
The &#039;Facets&#039; frame is the same as the previous algorithm (see above).&lt;br /&gt;
&lt;br /&gt;
[[File:QFacetsFMOutput.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
== Export facets as a SHP file ==&lt;br /&gt;
&lt;br /&gt;
Once a set of facets has been generated, you can export it as a shape (SHP) file. Simply select the parent container and click on the [[File:ShpFile.png]] icon.&lt;br /&gt;
&lt;br /&gt;
This will make a new dialog appear:&lt;br /&gt;
[[File:QFacetsSHPExport.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
To export the facets to a SHP files, they will first be projected in 2D. To do this a projection direction (&#039;vertical orientation&#039;) must be defined. This is the orientation of the &#039;vertical&#039; vector in the 3D world. You can use:&lt;br /&gt;
* the native orientation (&#039;&#039;i.e. Z = (0,0,1)&#039;&#039;)&lt;br /&gt;
* the mean facets normal&lt;br /&gt;
* a custom direction (&#039;&#039;which should be set in the 3 (Nx, Ny, Nz) fields below&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting SHP file will be composed of 2D polygons. The associated DBF file will store various pieces of information for each facet:&lt;br /&gt;
* Index&lt;br /&gt;
* Center (X,Y,Z)&lt;br /&gt;
* Normal (X,Y,Z)&lt;br /&gt;
* retro-projection  error (RMS)&lt;br /&gt;
* Horiz_ext: horizontal extension&lt;br /&gt;
* Vert_ext: vertical extension&lt;br /&gt;
* Surf_ext: surface of the bounding rectangle (&#039;&#039;in the facet plane&#039;&#039;)&lt;br /&gt;
* Surface&lt;br /&gt;
* Dip direction&lt;br /&gt;
* Dip&lt;br /&gt;
* Family index (if any - see the Classification method below)&lt;br /&gt;
* Sub-family index (if any - see the Classification method below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is an example of the SHP file imported in [http://www.qgis.org/ QGis]:&lt;br /&gt;
[[File:QFacetsSHPinQGis.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The colors of the polygons are based on their dip direction and the facets index is used as label.&lt;br /&gt;
&lt;br /&gt;
== Export facets as a CSV file ==&lt;br /&gt;
&lt;br /&gt;
Simply select the parent container of the generated facets and click on the [[File:CsvFile.png]] icon.&lt;br /&gt;
&lt;br /&gt;
This function works almost the same as the SHP export one (see above). The only difference is that no polygon file will be generated. But the same information as in the DBF file will be saved in a CSV file.&lt;br /&gt;
&lt;br /&gt;
== Facets classification ==&lt;br /&gt;
&lt;br /&gt;
This tool lets you re-organize the generated facets in folders (&#039;&#039;families&#039;&#039;) and sub-folders (&#039;&#039;sub-families&#039;&#039;) based on their orientation and relative distance.&lt;br /&gt;
&lt;br /&gt;
Select the parent container of the facets and then click on the [[File:ClassifIcon.png]] icon.&lt;br /&gt;
&lt;br /&gt;
This will display a very simple dialog:&lt;br /&gt;
[[File:QFacetsClassify.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Simply choose:&lt;br /&gt;
* each family angular range (they will be regularly sampled starting from 0)&lt;br /&gt;
* and the maximum &#039;&#039;&#039;orthogonal&#039;&#039;&#039; distance between facets of a sub-family (this is the orthogonal distance)&lt;br /&gt;
&lt;br /&gt;
Once validated, the facets will be regrouped in the DB tree (under the same parent container):&lt;br /&gt;
[[File:QFacetsClassificationDB.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
The facets will also be colored based on their family (instead of their dip/dip direction).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Stereogram display ==&lt;br /&gt;
&lt;br /&gt;
The last tool of the qFacets plugin is the stereogram/stereoplot display. To use it you can either select a group of facets or cloud with normals. Then click on the [[File:Stereogram.png]] icon.&lt;br /&gt;
&lt;br /&gt;
[[File:QFacetsStereogramParams.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will have first to define a few parameters for the stereogram plot:&lt;br /&gt;
* the angular step for the main sectors&lt;br /&gt;
* and the angular resolution (for both the dip and dip direction dimensions)&lt;br /&gt;
&lt;br /&gt;
Then the true stereogram will appear:&lt;br /&gt;
[[File:QFacetsStereogram.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
=== Display options ===&lt;br /&gt;
&lt;br /&gt;
The first tab lets you set the display options:&lt;br /&gt;
* the color ramp (type and number of steps) - this works just like the scalar fields color ramp (see the [[Scalar fields\Color Scales Manager | Color Scales Manager]]).&lt;br /&gt;
* the small ticks frequency (for each sector)&lt;br /&gt;
* and whether to display the families color around the stereogram or not&lt;br /&gt;
&lt;br /&gt;
=== Interactive filter ===&lt;br /&gt;
&lt;br /&gt;
The second tab lets you enable the &#039;interactive filter&#039;. This filter will let you select an angular range along each dimension (dip and dip direction). Only the facets (or points) falling inside this corresponding section the stereogram plot will be displayed. And this selection can be exported (as a new set of facets or a new point cloud depending on the input entity).&lt;br /&gt;
&lt;br /&gt;
[[File:QFacetsStereogramFilter.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the current selection extents (delimited by red lines) can be re-centered by clicking directly on the stereogram plot&lt;br /&gt;
* when visually filtered, the facets polygon will be hidden but their contour will remain visible&lt;br /&gt;
&lt;br /&gt;
= Command line (since version 2.14) =&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, the plugin can be used via the command line (note that the stereogram option is not accessible via command line).&lt;br /&gt;
&lt;br /&gt;
Here is the syntax:&lt;br /&gt;
-FACETS -EXTRACT_FACETS -ALGO {ALGO_KD_TREE|ALGO_FAST_MARCHING} -KD_TREE_FUSION_MAX_ANGLE_DEG {kd_tree_fusion_max_angle_deg} -KD_TREE_FUSION_MAX_RELATIVE_DISTANCE {kd_tree_fusion_max_relative_distance} -OCTREE_LEVEL {octree_level} -USE_RETRO_PROJECTION_ERROR -ERROR_MEASURE {RMS|MAX_DIST_68_PERCENT|MAX_DIST_95_PERCENT|MAX_DIST_99_PERCENT|MAX_DIST} -ERROR_MAX_PER_FACET {error_max_per_facet} -MIN_POINTS_PER_FACET {min_points_per_facet} -MAX_EDGE_LENGTH {max_edge_length} -CLASSIFY_FACETS_BY_ANGLE -CLASSIF_ANGLE_STEP {classif_angle_step} -CLASSIF_MAX_DIST {classif_max_dist} -EXPORT_FACETS -SHAPE_FILENAME {shape_filename} -USE_NATIVE_ORIENTATION -USE_GLOBAL_ORIENTATION -USE_CUSTOM_ORIENTATION {nX nY nZ} -EXPORT_FACETS_INFO -CSV_FILENAME {csv_filename}&lt;br /&gt;
&lt;br /&gt;
* -EXTRACT_FACETS&lt;br /&gt;
** -ALGO {ALGO_KD_TREE|ALGO_FAST_MARCHING} specifies which algorithm to use. Default is ALGO_KD_TREE.&lt;br /&gt;
*** {ALGO_KD_TREE} uses kd-tree&lt;br /&gt;
**** -KD_TREE_FUSION_MAX_ANGLE_DEG {kd_tree_fusion_max_angle_deg} default=20&lt;br /&gt;
**** -KD_TREE_FUSION_MAX_RELATIVE_DISTANCE {kd_tree_fusion_max_relative_distance} default=1.0&lt;br /&gt;
*** {ALGO_FAST_MARCHING} uses fast marching&lt;br /&gt;
**** -OCTREE_LEVEL {octree_level} default=8&lt;br /&gt;
**** -USE_RETRO_PROJECTION_ERROR default=false			                     &lt;br /&gt;
*** -ERROR_MEASURE {RMS|MAX_DIST_68_PERCENT|MAX_DIST_95_PERCENT|MAX_DIST_99_PERCENT|MAX_DIST} default=MAX_DIST_99_PERCENT&lt;br /&gt;
*** -ERROR_MAX_PER_FACET {error_max_per_facet} default=0.2&lt;br /&gt;
*** -MIN_POINTS_PER_FACET {min_points_per_facet} default=10&lt;br /&gt;
*** -MAX_EDGE_LENGTH {max_edge_length} default=1.0&lt;br /&gt;
&lt;br /&gt;
* -CLASSIFY_FACETS_BY_ANGLE groups the facets into angular groups. default=false&lt;br /&gt;
** -CLASSIF_ANGLE_STEP {classif_angle_step} default=30&lt;br /&gt;
** -CLASSIF_MAX_DIST {classif_max_dist} default=1.0&lt;br /&gt;
&lt;br /&gt;
* -EXPORT_FACETS saves facet info including geometry to a shape file file.  default=false&lt;br /&gt;
** -SHAPE_FILENAME {shape_filename} default=&#039;[name of cloud]_facets.shp&#039;&lt;br /&gt;
** -USE_NATIVE_ORIENTATION default=true &lt;br /&gt;
** -USE_GLOBAL_ORIENTATION default=false&lt;br /&gt;
** -USE_CUSTOM_ORIENTATION {nX nY nZ} default=false, default nx nY nZ = 0.0 0.0 1.0&lt;br /&gt;
&lt;br /&gt;
* -EXPORT_FACETS_INFO saves facet info to a csv file (no geometry saved). default=false&lt;br /&gt;
** -CSV_FILENAME {csv_filename} default = &#039;[name of cloud]_facets.csv&#039;&lt;br /&gt;
** -COORDS_IN_CSV will add facet polyline coordinates to the csv file in wkt format &amp;quot;POLYGONZ(x1 y1 z1,x2 y2 z2,...,x1 y1 z1)&amp;quot;. default=false&lt;br /&gt;
*** If present then -USE_NATIVE_ORIENTATION etc. will apply.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47850</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47850"/>
		<updated>2026-01-17T07:48:34Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORM_TO_SF {X/Y/Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CExport_normals_to_SF(s) | exports the specified normal components]] to scalar fields.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{X/Y/Z} is any combination of X, Y and Z, such as &#039;XYZ&#039;, &#039;XZ&#039; or &#039;Y&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -NORM_TO_SF XYZ (to extract a scalar field for each of the 3 components Nx, Ny and Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_NORM {SFxIndex} {SFyIndex} {SFzIndex}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CSet_SF(s)_as_normal | set the specified scalar field values as normal components]] of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{SFnIndex} can be a numerical index, a name or &#039;LAST&#039;, or -1 if the dimension should not be initialized from a SF (in which case it will be left at its previous value, or 0 if no normal was previously set)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -SF_TO_NORM 0 -1 1 (to set the first scalar field as Nx, nothing for Nz, and the second scalar field as Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER -RGB -SF {-MEAN|-MEDIAN|GAUSSIAN|BILATERAL} -SIGMA {sigma} -SIGMA_SF {sigma_sf} -BURNT_COLOR_THRESHOLD {burnt_color_threshold} -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies either the mean, median, gaussian or bilateral filter on the active scalar field and/or on the RGB values (introduced in version 2.14).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Command arguments with a dash can be in any order&lt;br /&gt;
* -RGB runs the filter on color&lt;br /&gt;
* -SF runs the filter on the active scalar field&lt;br /&gt;
* -RGB and -SF can be used at the same time, otherwise at least one of the 2 options is required&lt;br /&gt;
* -MEAN|-MEDIAN|GAUSSIAN|BILATERAL specifies the filtering algorithm to use (required, only one should be set - however, if multiple are passed, only the first one will be considered)&lt;br /&gt;
* -BURNT_COLOR_THRESHOLD {burnt_color_threshold} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** discards points for calculations if their R,G,B values are out of the [burnt_color_threshold;255-burnt_color_threshold] range.&lt;br /&gt;
** {burnt_color_threshold} is an integer between 0 and 255&lt;br /&gt;
** default value is 0, so all points are used&lt;br /&gt;
* -BLEND_GRAYSCALE {grayscale_threshold} {grayscale_percent} (optional, only used when the filter is applied to RGB colors)&lt;br /&gt;
** if the set of neighbors around each point contains more than {grayscale_percent}% of grayscale colors, only grayscale colors will be used.&lt;br /&gt;
** a color is considered as &#039;gray&#039; when (R + G + B) / 3 - {grayscale_threshold} &amp;lt;= [R,G,B] &amp;lt;= (R + G + B) / 3 + {grayscale_threshold}&lt;br /&gt;
** {grayscale_threshold} is a strictly positive integer (HINT: use a small value between 1 and 10)&lt;br /&gt;
** {grayscale_percent} is an integer between 0 and 100 to decide when to consider colors as grayscale instead of RGB&lt;br /&gt;
* -SIGMA {sigma} (optional)&lt;br /&gt;
** nearest neighbours extracted with a radius of 3*sigma. If not set, CloudCompare will calculate a default value.&lt;br /&gt;
* -SIGMA_SF {sigma_sf} (optional, only used when bilateral filter applied)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-NOT_IN_PLACE&amp;lt;/code&amp;gt; to force the creation of a new SF (since version 2.14)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST_IS_FIRST} {-INTERP_NN k} {-INTERP_RADIUS r}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: before version 2.14.beta, the command line was always using the same options:&lt;br /&gt;
* interpolation method: nearest neighbor&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius&lt;br /&gt;
&lt;br /&gt;
Since version 2.144.beta, it&#039;s now possible to specify the interpolation method:&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_NN k&#039; to use nearest neighbors interpolation (k = number of neighbors)&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_RADIUS r&#039; to use interpolation inside a sphere (r = sphere radius)&lt;br /&gt;
(these new options must always be placed last)&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47849</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47849"/>
		<updated>2025-12-28T12:34:25Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORM_TO_SF {X/Y/Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CExport_normals_to_SF(s) | exports the specified normal components]] to scalar fields.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{X/Y/Z} is any combination of X, Y and Z, such as &#039;XYZ&#039;, &#039;XZ&#039; or &#039;Y&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -NORM_TO_SF XYZ (to extract a scalar field for each of the 3 components Nx, Ny and Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_NORM {SFxIndex} {SFyIndex} {SFzIndex}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CSet_SF(s)_as_normal | set the specified scalar field values as normal components]] of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{SFnIndex} can be a numerical index, a name or &#039;LAST&#039;, or -1 if the dimension should not be initialized from a SF (in which case it will be left at its previous value, or 0 if no normal was previously set)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -SF_TO_NORM 0 -1 1 (to set the first scalar field as Nx, nothing for Nz, and the second scalar field as Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST_IS_FIRST} {-INTERP_NN k} {-INTERP_RADIUS r}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: before version 2.14.beta, the command line was always using the same options:&lt;br /&gt;
* interpolation method: nearest neighbor&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius&lt;br /&gt;
&lt;br /&gt;
Since version 2.144.beta, it&#039;s now possible to specify the interpolation method:&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_NN k&#039; to use nearest neighbors interpolation (k = number of neighbors)&lt;br /&gt;
* &#039;-SF_INTERP {SF index} -INTERP_RADIUS r&#039; to use interpolation inside a sphere (r = sphere radius)&lt;br /&gt;
(these new options must always be placed last)&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47848</id>
		<title>Sensors\Ground Based Lidar\Create</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47848"/>
		<updated>2025-12-13T08:41:56Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Edit &amp;gt; Sensors &amp;gt; TLS/GBL &amp;gt; Create&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Creates a Terrestrial Laser Scanner (TLS - also called a Ground Based Lidar = GBL) sensor entity attached to the selected cloud.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_create_gbl_sensor_dialog.jpg|frame|center|Edit &amp;gt; Sensor &amp;gt; Create &amp;gt; TLS sensor dialog (version 2.14)]]&lt;br /&gt;
&lt;br /&gt;
The user must specify the main intrinsic and extrinsic parameters of the sensor (absolute position and orientation, angular steps, etc.).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Notes:&lt;br /&gt;
- since version 2.5.6, angles are now expressed in degrees and [http://en.wikipedia.org/wiki/Aircraft_principal_axes aircraft] denominations (yaw/pitch) are used so as to make things clearer.&lt;br /&gt;
- since version 2.14, it is possible to manually set the scanner angular ranges&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;OK&#039; button will create a new sensor object. A depth buffer is automatically generated and displayed by CloudCompare so as to let the user visually check the parameters. Note that the parent cloud of the sensor is used to create this depth buffer, considering the &#039;&#039;&#039;farthest point&#039;&#039;&#039; &#039;seen&#039; by the scanner in any direction.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_depth_map.jpg|frame|center|TLS sensor depth buffer]]&lt;br /&gt;
&lt;br /&gt;
By default the sensor object is added as a child of the selected cloud in the DB tree. It is also visible in the 3D view (warning: you may have to change its &#039;drawing scale&#039; - see the sensor object properties - to view it correctly).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_in_3d_view.jpg|frame|center|TLS sensor entity (as visible in the DB tree and in a 3D view]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47847</id>
		<title>Sensors\Ground Based Lidar\Create</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47847"/>
		<updated>2025-12-13T08:41:19Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Edit &amp;gt; Sensors &amp;gt; TLS/GBL &amp;gt; Create&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Creates a Terrestrial Laser Scanner (TLS - also called a Ground Based Lidar = GBL) sensor entity attached to the selected cloud.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_create_gbl_sensor_dialog.jpg|frame|center|Edit &amp;gt; Sensor &amp;gt; Create &amp;gt; TLS sensor dialog (version 2.14)]]&lt;br /&gt;
&lt;br /&gt;
The user must specify the main intrinsic and extrinsic parameters of the sensor (absolute position and orientation, angular steps, etc.).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Notes:&lt;br /&gt;
- since version 2.5.6, angles are now expressed in degrees and [http://en.wikipedia.org/wiki/Aircraft_principal_axes aircraft] denominations (yaw/pitch) are used so as to make things clearer.&lt;br /&gt;
- since version 2.14, it is possible to manually set the scanner angular ranges&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;OK&#039; button will create a new sensor object. A depth buffer is automatically generated and displayed by CloudCompare so as to let the user visually check the parameters. Note that the parent cloud of the sensor is used to create this depth buffer, considering the &#039;&#039;&#039;farthest point&#039;&#039;&#039; &#039;seen&#039; by the scanner in any direction.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_depth_map.jpg|frame|center|GBL sensor depth map]]&lt;br /&gt;
&lt;br /&gt;
By default the sensor object is added as a child of the selected cloud in the DB tree. It is also visible in the 3D view (warning: you may have to change its &#039;drawing scale&#039; - see the sensor object properties - to view it correctly).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_in_3d_view.jpg|frame|center|GBL sensor object (as visible in the DB tree and in a 3D view]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=File:Cc_create_gbl_sensor_dialog.jpg&amp;diff=47846</id>
		<title>File:Cc create gbl sensor dialog.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=File:Cc_create_gbl_sensor_dialog.jpg&amp;diff=47846"/>
		<updated>2025-12-13T08:40:12Z</updated>

		<summary type="html">&lt;p&gt;Daniel: Daniel uploaded a new version of File:Cc create gbl sensor dialog.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47845</id>
		<title>Sensors\Ground Based Lidar\Create</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47845"/>
		<updated>2025-12-13T08:27:20Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Edit &amp;gt; Sensors &amp;gt; TLS/GBL &amp;gt; Create&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Creates a Terrestrial Laser Scanner (TLS - also called a Ground Based Lidar = GBL) sensor entity attached to the selected cloud.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_create_gbl_sensor_dialog.jpg|frame|center|Edit &amp;gt; Sensor &amp;gt; Create &amp;gt; GBL sensor dialog]]&lt;br /&gt;
&lt;br /&gt;
The user must specify the main intrinsic and extrinsic parameters of the sensor (absolute position and orientation, angular steps, etc.).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Notes:&lt;br /&gt;
- since version 2.5.6, angles are now expressed in degrees and [http://en.wikipedia.org/wiki/Aircraft_principal_axes aircraft] denominations (yaw/pitch) are used so as to make things clearer.&lt;br /&gt;
- since version 2.14, it is possible to manually set the scanner angular ranges&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;OK&#039; button will create a new sensor object. A depth buffer is automatically generated and displayed by CloudCompare so as to let the user visually check the parameters. Note that the parent cloud of the sensor is used to create this depth buffer, considering the &#039;&#039;&#039;farthest point&#039;&#039;&#039; &#039;seen&#039; by the scanner in any direction.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_depth_map.jpg|frame|center|GBL sensor depth map]]&lt;br /&gt;
&lt;br /&gt;
By default the sensor object is added as a child of the selected cloud in the DB tree. It is also visible in the 3D view (warning: you may have to change its &#039;drawing scale&#039; - see the sensor object properties - to view it correctly).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_in_3d_view.jpg|frame|center|GBL sensor object (as visible in the DB tree and in a 3D view]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47844</id>
		<title>Sensors\Ground Based Lidar\Create</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Sensors%5CGround_Based_Lidar%5CCreate&amp;diff=47844"/>
		<updated>2025-12-13T08:25:37Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Edit &amp;gt; Sensors &amp;gt; TLS/GBL &amp;gt; Create&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Creates a Terrestrial Laser Scanner (TLS - also called a Ground Based Lidar = GBL) sensor entity attached to the selected cloud.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_create_gbl_sensor_dialog.jpg|frame|center|Edit &amp;gt; Sensor &amp;gt; Create &amp;gt; GBL sensor dialog]]&lt;br /&gt;
&lt;br /&gt;
The user must specify the main intrinsic and extrinsic parameters of the sensor (absolute position and orientation, angular steps, etc.).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: since version 2.5.6, angles are now expressed in degrees and [http://en.wikipedia.org/wiki/Aircraft_principal_axes aircraft] denominations (yaw/pitch) are used so as to make things clearer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;OK&#039; button will create a new sensor object. A depth buffer is automatically generated and displayed by CloudCompare so as to let the user visually check the parameters. Note that the parent cloud of the sensor is used to create this depth buffer, considering the &#039;&#039;&#039;farthest point&#039;&#039;&#039; &#039;seen&#039; by the scanner in any direction.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_depth_map.jpg|frame|center|GBL sensor depth map]]&lt;br /&gt;
&lt;br /&gt;
By default the sensor object is added as a child of the selected cloud in the DB tree. It is also visible in the 3D view (warning: you may have to change its &#039;drawing scale&#039; - see the sensor object properties - to view it correctly).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_gbl_sensor_in_3d_view.jpg|frame|center|GBL sensor object (as visible in the DB tree and in a 3D view]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=QCloudLayers_(plugin)&amp;diff=47843</id>
		<title>QCloudLayers (plugin)</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=QCloudLayers_(plugin)&amp;diff=47843"/>
		<updated>2025-09-07T14:37:48Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Developer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cloud Layers is a plugin for CloudCompare to perform manual classification.&lt;br /&gt;
&lt;br /&gt;
[[Image:QCloudLayers.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Basic workflow =&lt;br /&gt;
&lt;br /&gt;
= Copyright =&lt;br /&gt;
WigginsTech [https://www.wigginstech.com/ https://www.wigginstech.com/]&lt;br /&gt;
&lt;br /&gt;
= Initial developer =&lt;br /&gt;
Neurodat [https://neurodat.com/contact-us/ https://neurodat.com]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=QCloudLayers_(plugin)&amp;diff=47842</id>
		<title>QCloudLayers (plugin)</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=QCloudLayers_(plugin)&amp;diff=47842"/>
		<updated>2025-09-07T14:37:32Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Copyright */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cloud Layers is a plugin for CloudCompare to perform manual classification.&lt;br /&gt;
&lt;br /&gt;
[[Image:QCloudLayers.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Basic workflow =&lt;br /&gt;
&lt;br /&gt;
= Copyright =&lt;br /&gt;
WigginsTech [https://www.wigginstech.com/ https://www.wigginstech.com/]&lt;br /&gt;
&lt;br /&gt;
= Developer =&lt;br /&gt;
Neurodat [https://neurodat.com/contact-us/ https://neurodat.com]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=QCloudLayers_(plugin)&amp;diff=47841</id>
		<title>QCloudLayers (plugin)</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=QCloudLayers_(plugin)&amp;diff=47841"/>
		<updated>2025-09-07T14:37:08Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Copyright */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cloud Layers is a plugin for CloudCompare to perform manual classification.&lt;br /&gt;
&lt;br /&gt;
[[Image:QCloudLayers.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
= Basic workflow =&lt;br /&gt;
&lt;br /&gt;
= Copyright =&lt;br /&gt;
WigginsTech [https://www.wigginstech.com/ https://www.wigginstech.com/]&lt;br /&gt;
Developer: [https://neurodat.com/contact-us/ Neurodat]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47840</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47840"/>
		<updated>2025-09-04T20:13:55Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.14.alpha) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORM_TO_SF {X/Y/Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CExport_normals_to_SF(s) | exports the specified normal components]] to scalar fields.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{X/Y/Z} is any combination of X, Y and Z, such as &#039;XYZ&#039;, &#039;XZ&#039; or &#039;Y&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -NORM_TO_SF XYZ (to extract a scalar field for each of the 3 components Nx, Ny and Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_NORM {SFxIndex} {SFyIndex} {SFzIndex}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5CSet_SF(s)_as_normal | set the specified scalar field values as normal components]] of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{SFnIndex} can be a numerical index, a name or &#039;LAST&#039;, or -1 if the dimension should not be initialized from a SF (in which case it will be left at its previous value, or 0 if no normal was previously set)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* example: CloudCompare -O myfile.bin -SF_TO_NORM 0 -1 1 (to set the first scalar field as Nx, nothing for Nz, and the second scalar field as Nz)&lt;br /&gt;
* since version 2.14.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47839</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47839"/>
		<updated>2025-07-13T19:14:12Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.14.alpha) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous clouds are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- previous meshes are unloaded from memory.&lt;br /&gt;
- result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Methods&amp;diff=47564</id>
		<title>Methods</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Methods&amp;diff=47564"/>
		<updated>2025-06-03T18:26:55Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Menus */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Interwiki links --&amp;gt;&lt;br /&gt;
[[pl:Funkcje w menu]]&lt;br /&gt;
&lt;br /&gt;
= Menus =&lt;br /&gt;
&lt;br /&gt;
Here are described all the methods of CloudCompare in the order they appear in the menu.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(version: 2.14.alpha)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== File ==&lt;br /&gt;
&lt;br /&gt;
* [[Open]] [[File:ccOpen_small.png]]&lt;br /&gt;
* Open Recent... (&#039;&#039;open recent files&#039;&#039;)&lt;br /&gt;
* [[Save]] [[File:ccSave_small.png]]&lt;br /&gt;
* [[Global Shift settings]]&lt;br /&gt;
* [[Primitive Factory | Primitive factory]] [[File:DbMiscGeomSymbol.png]]&lt;br /&gt;
* [[mouse3D | 3D mouse &amp;gt; Enable]] [[Image:3dconnexion_logo.jpg]]&lt;br /&gt;
* [[Gamepad | Gamepad &amp;gt; Enable]] [[Image:Gamepad.png|16px]]&lt;br /&gt;
* Close all (&#039;&#039;close all loaded entities&#039;&#039;)&lt;br /&gt;
* Quit (&#039;&#039;should be pretty clear!&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Edit ==&lt;br /&gt;
* [[Clone]] [[Image:CcClone.png]]&lt;br /&gt;
* [[Merge]] [[Image:CcMerge.png]]&lt;br /&gt;
* [[Edit\Subsample | Subsample]] [[Image:CcSampleCloud.png]]&lt;br /&gt;
* [[Apply Transformation | Apply transformation]]&lt;br /&gt;
* [[Multiply/Scale]]&lt;br /&gt;
* [[Interactive Transformation Tool | Translate/Rotate]] [[Image:CCMoveIcon.png]]&lt;br /&gt;
* [[Interactive Segmentation Tool | Segment]] [[File:CCSegmentIcon.png]]&lt;br /&gt;
* [[Crop]]&lt;br /&gt;
* [[Edit global shift and scale]]&lt;br /&gt;
* [[Toggle (menu) | Toggle (recursive) submenu]]&lt;br /&gt;
* Delete (&#039;&#039;delete the selected entities&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Colors ===&lt;br /&gt;
* [[Colors\Set Unique | Set unique]] [[File:TypeRgbCcolor.png]]&lt;br /&gt;
* [[Colors\From Scalar fields | From Scalar fields]]&lt;br /&gt;
* [[Colors\Colorize | Colorize]]&lt;br /&gt;
* [[Colors\Levels | Levels]]&lt;br /&gt;
* [[Colors\Height Ramp | Height ramp]]&lt;br /&gt;
* [[Colors\Convert to grey scale | Convert to grey scale]]&lt;br /&gt;
* [[Colors\Convert to Scalar Field | Convert to scalar field]]&lt;br /&gt;
* [[Colors\Interpolate from another entity | Interpolate from another entity]]&lt;br /&gt;
* [[Colors\Enhance with intensities | Enhance with intensities]]&lt;br /&gt;
* [[Colors\Bilateral filter | Bilateral filter]]&lt;br /&gt;
* [[Colors\Gaussian filter | Gaussian filter]]&lt;br /&gt;
* [[Colors\Mean filter | Mean filter]]&lt;br /&gt;
* [[Colors\Median filter | Median filter]]&lt;br /&gt;
* Clear (&#039;&#039;remove the color field of the selected entities&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Normals ===&lt;br /&gt;
* [[Normals\Compute | Compute]] [[File:TypeNormal.png]]&lt;br /&gt;
* [[Normals\Invert | Invert]]&lt;br /&gt;
* [[Normals\Orient Normals With Minimum Spanning Tree | Orient normals &amp;gt; With Minimum Spanning Tree]]&lt;br /&gt;
* [[Normals\Orient Normals With Fast Marching | Orient normals &amp;gt; with Fast Marching]]&lt;br /&gt;
* [[Normals\Convert to HSV | Convert to &amp;gt; HSV colors]]&lt;br /&gt;
* [[Normals\Convert to Dip and Dip direction SFs | Convert to &amp;gt; Dip &amp;amp; Dip direction SFs]]&lt;br /&gt;
* [[Normals\Export normals to SF(s) | Export normals to SF(s)]]&lt;br /&gt;
* [[Normals\Set SF(s) as normal | Set SF(s) as normal]]&lt;br /&gt;
* Clear (&#039;&#039;remove normals from the selected entities&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Octree ===&lt;br /&gt;
* [[Octree\Compute | Compute]] [[File:OctreeSymbol.png]]&lt;br /&gt;
* [[Octree\Resample | Resample]]&lt;br /&gt;
&lt;br /&gt;
=== Grid ===&lt;br /&gt;
* [[Grid\Delete | Delete scan grids]]&lt;br /&gt;
* [[Grid\Mesh | Mesh scan grids]]&lt;br /&gt;
&lt;br /&gt;
=== Cloud ===&lt;br /&gt;
* [[Cloud\Create single point cloud | Create single point cloud]]&lt;br /&gt;
* [[Cloud\Paste from clipboard | Paste from clipboard]]&lt;br /&gt;
&lt;br /&gt;
=== Mesh ===&lt;br /&gt;
* [[Mesh\Delaunay_2.5D_(XY_plane) | Delaunay 2.5D (XY plane)]]&lt;br /&gt;
* [[Mesh\Delaunay_2.5D_(best_fit_plane) | Delaunay 2.5D (best fit plane)]]&lt;br /&gt;
* [[Mesh\Surface between two polylines | Surface between two polylines]]&lt;br /&gt;
* [[Mesh\Mesh scan grids | Mesh scan grids]]&lt;br /&gt;
* [[Mesh\Convert texture/material to RGB | Convert texture/material to RGB]] [[File:TypeRgbCcolor.png]]&lt;br /&gt;
* [[Mesh\Sample points | Sample points]] [[File:CCSamplePointsIcon.png]]&lt;br /&gt;
* [[Mesh\Smooth (Laplacian) | Smooth (Laplacian)]]&lt;br /&gt;
* [[Mesh\Subdivide | Subdivide]]&lt;br /&gt;
* [[Mesh\Flip triangles | Flip triangles]]&lt;br /&gt;
* [[Mesh\Measure surface | Measure surface]]&lt;br /&gt;
* [[Mesh\Measure volume | Measure volume]]&lt;br /&gt;
* [[Mesh\Flag vertices | Flag vertices by type]]&lt;br /&gt;
==== Mesh \ Scalar field ====&lt;br /&gt;
* [[Mesh\Scalar field\Smooth | Smooth]]&lt;br /&gt;
* [[Mesh\Scalar field\Enhance | Enhance]]&lt;br /&gt;
&lt;br /&gt;
=== Polyline ===&lt;br /&gt;
* [[Polyline\Sample points | Sample points]]&lt;br /&gt;
&lt;br /&gt;
=== Plane ===&lt;br /&gt;
* [[Plane\Edit and Create | Create]]&lt;br /&gt;
* [[Fit Plane | Fit]]&lt;br /&gt;
* [[Plane\Edit and Create | Edit]]&lt;br /&gt;
* [[Plane\Flip | Flip]]&lt;br /&gt;
* [[Plane\Compare | Compare]]&lt;br /&gt;
&lt;br /&gt;
=== Sensors ===&lt;br /&gt;
* [[Sensors\Edit| Edit]]&lt;br /&gt;
==== Sensors \ TLS/GBL [[Image:SensorSymbol.png]] ====&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Create | Create]]&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Show Depth Buffer | Creat/show Depth Buffer]]&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Export Depth Buffer | Export Depth Buffer]]&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Compute Points Visibility With Depth Buffer | Compute points visibility (with depth buffer)]]&lt;br /&gt;
&lt;br /&gt;
==== Sensors \ Camera Sensor [[Image:DbCamSensorSymbol.png]] ====&lt;br /&gt;
* [[Sensors\Camera Sensor\Create | Create]]&lt;br /&gt;
* [[Sensors\Camera Sensor\Project uncertainty | Project uncertainty]]&lt;br /&gt;
* [[Sensors\Camera Sensor\Compute points visibility (with octree) | Compute points visibility (with octree)]]&lt;br /&gt;
==== Sensors \ Other ====&lt;br /&gt;
* [[Sensors\View from sensor | View from sensor]] [[Image:DbViewportSymbol.png]]&lt;br /&gt;
* [[Sensors\Compute ranges | Compute Ranges]]&lt;br /&gt;
* [[Sensors\Compute scattering angles | Compute Scattering Angles]]&lt;br /&gt;
&lt;br /&gt;
=== Scalar fields ===&lt;br /&gt;
* [[Scalar fields\Show histogram | Show histogram]] [[Image:CcHistogram.png]]&lt;br /&gt;
* [[Scalar fields\Compute statistical parameters | Compute stat. params]] [[Image:CcComputeStat.png]]&lt;br /&gt;
* [[Scalar fields\Gradient | Gradient]] [[Image:CcGradient.png]]&lt;br /&gt;
* [[Scalar fields\Gaussian filter | Gaussian filter]] [[Image:CcGaussianFilter.png]]&lt;br /&gt;
* [[Scalar fields\Bilateral filter | Bilateral filter]] [[Image:CcBilateralFilter.png]]&lt;br /&gt;
* [[Scalar fields\Filter by Value | Filter by Value]] [[Image:CcFilterByValue.png]]&lt;br /&gt;
* [[Scalar fields\Convert to RGB | Convert to RGB]] [[Image:TypeRgbCcolor.png]]&lt;br /&gt;
* [[Scalar fields\Convert to random RGB | Convert to random RGB]]&lt;br /&gt;
* [[Scalar fields\Rename | Rename]]&lt;br /&gt;
* [[Scalar fields\Add constant SF | Add constant SF]] [[Image:CcAddConstSF.png]]&lt;br /&gt;
* [[Scalar fields\Add classification SF | Add classification SF]] [[Image:CcAddConstSF.png]]&lt;br /&gt;
* [[Scalar fields\Add point indexes as SF | Add point indexes as SF]]&lt;br /&gt;
* [[Scalar fields\Export coordinate(s) to SF(s) | Export coordinate(s) to SF(s)]]&lt;br /&gt;
* [[Scalar fields\Set SF as coordinate(s) | Set SF as coordinate(s)]]&lt;br /&gt;
* [[Normals\Export normals to SF(s) | Export normals to SF(s)]]&lt;br /&gt;
* [[Normals\Set SF(s) as normal | Set SF(s) as normal]]&lt;br /&gt;
* [[Scalar fields\Interpolate from another entity | Interpolate from another entity]]&lt;br /&gt;
* [[Scalar fields\Split cloud (integer values) | Split cloud (integer values)]]&lt;br /&gt;
* [[Scalar fields\Arithmetic | Arithmetic]] [[Image:CcSfArithmetic.png]]&lt;br /&gt;
* [[Scalar fields\Color Scales Manager | Color Scales Manager]] [[Image:TypeSF.png]]&lt;br /&gt;
* Delete [[Image:CcDeleteSF.png]] (deletes the active scalar field of the selected entities)&lt;br /&gt;
* Delete all (!) (deletes all scalar fields of the selected entities)&lt;br /&gt;
&lt;br /&gt;
=== Waveform ===&lt;br /&gt;
* [[Waveform\2D Waveform viewer | 2D Waveform viewer]]&lt;br /&gt;
* [[Waveform\Compress FWF data | Compress FWF data]]&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
* [[Level]] [[Image:CcLevel small.png]]&lt;br /&gt;
* [[Point Picking]] [[Image:CcPointPicking_small.png]]&lt;br /&gt;
* [[Point list picking]] [[Image:CcPointListPicking_small.png]]&lt;br /&gt;
* [[Trace polyline]] [[Image:CcTracePolyline.png]]&lt;br /&gt;
&lt;br /&gt;
=== Clean ===&lt;br /&gt;
* [[SOR filter]]&lt;br /&gt;
* [[Noise filter]]&lt;br /&gt;
&lt;br /&gt;
=== Projection ===&lt;br /&gt;
* [[Unroll]]&lt;br /&gt;
* [[Rasterize | Rasterize (and contour plot)]] [[Image:CcGrid_small.png]]&lt;br /&gt;
* [[Contour plot to mesh | Contour plot (polylines) to mesh]]&lt;br /&gt;
* [[Scalar fields\Export coordinate(s) to SF(s) | Export coordinate(s) to SF(s)]]&lt;br /&gt;
* [[Mesh\Surface between two polylines | Create surface between two polylines]]&lt;br /&gt;
&lt;br /&gt;
=== Registration ===&lt;br /&gt;
* [[Match bounding box centers | Match bounding-box centers]]&lt;br /&gt;
* [[Match scales]]&lt;br /&gt;
* [[Align | Align (point pairs picking)]] [[File:Cc_pointPairAlignIcon.png‎]]&lt;br /&gt;
* [[ICP | Fine registration (ICP)]] [[File:CCRegisterIcon.png‎]]&lt;br /&gt;
* [[Registration\Move bounding-box ... to origin | Move bounding-box center to origin]]&lt;br /&gt;
* [[Registration\Move bounding-box ... to origin | Move bounding-box min corner to origin]]&lt;br /&gt;
* [[Registration\Move bounding-box ... to origin | Move bounding-box max corner to origin]]&lt;br /&gt;
&lt;br /&gt;
=== Distances ===&lt;br /&gt;
* [[Cloud-to-Cloud_Distance | Cloud/Cloud Dist.]] [[File:CloudCloudDistanceIcon.png‎]]&lt;br /&gt;
* [[Cloud-to-Mesh Distance | Cloud/Mesh Dist]] [[File:CloudMeshDistanceIcon.png]]&lt;br /&gt;
* [[Cloud-to-Primitive Distance | Cloud/Primitive Dist]]&lt;br /&gt;
* [[Closest Point Set]]&lt;br /&gt;
&lt;br /&gt;
=== Volume ===&lt;br /&gt;
* [[2.5D Volume | Compute 2.5D volume]]&lt;br /&gt;
&lt;br /&gt;
=== Statistics ===&lt;br /&gt;
* [[Local Statistical Test]] [[Image:CcStatTest.png]]&lt;br /&gt;
* [[Compute Stat Params | Compute stat. params (active SF)]] [[File:CcComputeStat.png]]&lt;br /&gt;
&lt;br /&gt;
=== Segmentation ===&lt;br /&gt;
* [[Label Connected Components | Label Connected Comp.]] [[Image:CcCCExtract.png]]&lt;br /&gt;
* [[Cross Section]] [[Image:CcClippingBox_small.png]]&lt;br /&gt;
* [[Extract Sections]] / Unfold [[Image:DbPolylineSymbol.png]]&lt;br /&gt;
&lt;br /&gt;
=== Fit ===&lt;br /&gt;
* [[Fit Plane | Plane ]]&lt;br /&gt;
* [[Fit Sphere | Sphere ]]&lt;br /&gt;
* [[Fit 2D Polygon | 2D Polygon (facet) ]]&lt;br /&gt;
* [[Fit Quadric | 2.5D Quadric ]]&lt;br /&gt;
&lt;br /&gt;
=== Batch export  ===&lt;br /&gt;
* [[Export cloud info]]&lt;br /&gt;
* [[Export plane info]]&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* [[Compute geometric features]] (v2.10+)&lt;br /&gt;
* [[Density]] (v2.9)&lt;br /&gt;
* [[Curvature]] (v2.9)&lt;br /&gt;
* [[Roughness]] (v2.9)&lt;br /&gt;
* [[Remove duplicate points]]&lt;br /&gt;
&lt;br /&gt;
== Display ==&lt;br /&gt;
* [[Full screen]] [[Image:CcFullScreen_small.png]]&lt;br /&gt;
* [[Full screen (3D view)]] [[Image:CcFullScreen_small.png]]&lt;br /&gt;
* [[Refresh]] [[Image:SmallReset.png]]&lt;br /&gt;
* [[Toggle Centered Perspective]] [[Image:CcCenteredPerspective_small.png]]&lt;br /&gt;
* [[Toggle Viewer Based Perspective]] [[Image:CcViewerBasedPerspective_small.png]]&lt;br /&gt;
* [[Show cursor coordinates]]&lt;br /&gt;
* [[Lock rotation about vert. axis]]&lt;br /&gt;
* [[Enter bubble-view mode]]&lt;br /&gt;
* [[Camera link]]&lt;br /&gt;
* [[Render to File]]&lt;br /&gt;
* [[Display\Display settings | Display options]] [[Image:CcSettings.png]]&lt;br /&gt;
* [[Display\Camera settings | Camera settings]] [[Image:Camera.png]]&lt;br /&gt;
* [[Display\Save viewport as object | Save viewport as object]] [[Image:DbViewportSymbol.png]]&lt;br /&gt;
* [[Display\Adjust zoom | Adjust zoom]]&lt;br /&gt;
* [[Display\Test Frame Rate | Test Frame Rate]]&lt;br /&gt;
&lt;br /&gt;
=== Lights ===&lt;br /&gt;
* [[Display\Lights\Toggle Sun Light | Toggle Sun Light]]&lt;br /&gt;
* [[Display\Lights\Toggle Custom Light | Toggle Custom Light]]&lt;br /&gt;
&lt;br /&gt;
=== Shaders &amp;amp; Filters ===&lt;br /&gt;
* [[Display\Shaders and Filters\Remove filter | Remove filter]]&lt;br /&gt;
* &#039;&#039;dynamically loaded shaders &amp;amp; filters&#039;&#039;: [[Plugin qEDL | qEDL]], [[Plugin qSSAO | qSSAO]], etc.&lt;br /&gt;
&lt;br /&gt;
=== Active scalar field ===&lt;br /&gt;
* [[Display\Active scalar field\Toggle color scale | Toggle color scale]]&lt;br /&gt;
* [[Display\Active scalar field\Show previous SF | Show previous SF]]&lt;br /&gt;
* [[Display\Active scalar field\Show next SF | Show next SF]]&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* [[Console]] [[Image:CcConsole_small.png]]&lt;br /&gt;
* [[Toolbars]]&lt;br /&gt;
* Language Translation &amp;gt; ... &#039;&#039;(below should appear the available and potentially partially supported languages)&#039;&#039;&lt;br /&gt;
* [[Display\Reset all GUI elements | Reset all GUI elements]]&lt;br /&gt;
&lt;br /&gt;
== Plugins ==&lt;br /&gt;
&#039;&#039;Dynamic content (depends on the current version/platform)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Go to the [[Plugins]] section for the full list.&lt;br /&gt;
&lt;br /&gt;
== 3D Views ==&lt;br /&gt;
* New&lt;br /&gt;
* Close&lt;br /&gt;
* Close All&lt;br /&gt;
* Tile&lt;br /&gt;
* Cascade&lt;br /&gt;
* Next&lt;br /&gt;
* Previous&lt;br /&gt;
&lt;br /&gt;
== Help ==&lt;br /&gt;
* [[Help menu | Help]]&lt;br /&gt;
* [[About menu | About ...]]&lt;br /&gt;
* [[About Plugins menu|  About Plugins ...]]&lt;br /&gt;
* Enable Qt warnings in Console &#039;&#039;(for obvious debug purposes ;)&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Lock_rotation_about_vert._axis&amp;diff=47563</id>
		<title>Lock rotation about vert. axis</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Lock_rotation_about_vert._axis&amp;diff=47563"/>
		<updated>2025-05-11T16:54:38Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Menu =&lt;br /&gt;
&lt;br /&gt;
This method is accessible via the &#039;Display &amp;gt; Lock rotation about vert. axis&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Alternatively you can use the &#039;&#039;L&#039;&#039; shortcut.&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
This method simply locks the camera rotation around the vertical (Z) axis (in the active 3D view).&lt;br /&gt;
&lt;br /&gt;
When activated a &#039;[ROTATION LOCKED]&#039; message will appear in the top part of the 3D view:&lt;br /&gt;
[[Image:Cc_rotation_locked.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simply call this method again (or use the &#039;&#039;L&#039;&#039; shortcut) to disable this mode.&lt;br /&gt;
&lt;br /&gt;
Since version 2.14.alpha (May 11th), this method will now work as a proper &#039;turntable&#039; mode.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Colors%5CGaussian_filter&amp;diff=47556</id>
		<title>Colors\Gaussian filter</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Colors%5CGaussian_filter&amp;diff=47556"/>
		<updated>2025-05-10T06:52:25Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu / Icon ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Edit &amp;gt; Colors &amp;gt; Gaussian filter&#039; [[Image:CcGaussianFilter.png]] menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Smooths Colors by applying a spatial [http://en.wikipedia.org/wiki/Gaussian_filter Gaussian filter] to each color component (Red,Green,Blue) individually.&lt;br /&gt;
&lt;br /&gt;
== parameters ==&lt;br /&gt;
*&#039;&#039;&#039;kernel size&#039;&#039;&#039;: radius of a sphere around each point inside which nearest neighbors will be extracted to compute the mean value. The bigger this radius, the stronger the filter will be (and the slower the computation...).&lt;br /&gt;
*&#039;&#039;&#039;color threshold&#039;&#039;&#039;: if all 3 color components of a point are below the threshold value or above &#039;255 - threshold&#039;, then this color will not be used in the computation. &lt;br /&gt;
**Example: if threshold = 2, rgb(0,0,0) is excluded, rgb(2,2,2) is excluded, rgb(253,253,253) is excluded, rgb(255,255,255) is excluded, but rgb(100,255,255) is included.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[Image:Color filters No filter.jpeg|frameless|default alignment|No filter]]&lt;br /&gt;
|[[Image:Color filters Gaussian filter.jpeg|frameless|default alignment|Gaussian filter]]&lt;br /&gt;
|[[Image:Color filters Bilateral filter.jpeg|frameless|default alignment|Bilateral filter]]&lt;br /&gt;
|[[Image:Color filters Mean filter.jpeg|frameless|default alignment|Mean filter]]&lt;br /&gt;
|[[Image:Color filters Median filter.jpeg|frameless|default alignment|Median filter]]&lt;br /&gt;
|-&lt;br /&gt;
|No Filter&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Gaussian filter | Gaussian filter]]&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Bilateral filter | Bilateral filter]]&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Mean filter | Mean filter]]&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Median filter | Median filter]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: the original colors will be overwritten. If you want to preserve original colors, use Edit &amp;gt; Colors &amp;gt; [[Colors\Convert to Scalar Field | Convert to scalar field]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Colors%5CGaussian_filter&amp;diff=47555</id>
		<title>Colors\Gaussian filter</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Colors%5CGaussian_filter&amp;diff=47555"/>
		<updated>2025-05-10T06:51:41Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu / Icon ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Edit &amp;gt; Colors &amp;gt; Gaussian filter&#039; [[Image:CcGaussianFilter.png]] menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Smooths Colors by applying a spatial [http://en.wikipedia.org/wiki/Gaussian_filter Gaussian filter] to each color component (Red,Green,Blue) individually.&lt;br /&gt;
&lt;br /&gt;
== parameters ==&lt;br /&gt;
*&#039;&#039;&#039;kernel size&#039;&#039;&#039;: radius of a sphere around each point inside which nearest neighbors will be extracted to compute the mean value. The bigger this radius, the stronger the filter will be (and the slower the computation...).&lt;br /&gt;
*&#039;&#039;&#039;color threshold&#039;&#039;&#039;: if a all color components of a point are below the threshold value, or above &#039;255 - threshold&#039;, then this color will not be used in the computation. &lt;br /&gt;
**Example: if threshold = 2, rgb(0,0,0) is excluded, rgb(2,2,2) is excluded, rgb(253,253,253) is excluded, rgb(255,255,255) is excluded, but rgb(100,255,255) is included.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[Image:Color filters No filter.jpeg|frameless|default alignment|No filter]]&lt;br /&gt;
|[[Image:Color filters Gaussian filter.jpeg|frameless|default alignment|Gaussian filter]]&lt;br /&gt;
|[[Image:Color filters Bilateral filter.jpeg|frameless|default alignment|Bilateral filter]]&lt;br /&gt;
|[[Image:Color filters Mean filter.jpeg|frameless|default alignment|Mean filter]]&lt;br /&gt;
|[[Image:Color filters Median filter.jpeg|frameless|default alignment|Median filter]]&lt;br /&gt;
|-&lt;br /&gt;
|No Filter&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Gaussian filter | Gaussian filter]]&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Bilateral filter | Bilateral filter]]&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Mean filter | Mean filter]]&lt;br /&gt;
|Edit &amp;gt; colors &amp;gt; [[Colors\Median filter | Median filter]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: the original colors will be overwritten. If you want to preserve original colors, use Edit &amp;gt; Colors &amp;gt; [[Colors\Convert to Scalar Field | Convert to scalar field]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=BIN&amp;diff=47515</id>
		<title>BIN</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=BIN&amp;diff=47515"/>
		<updated>2025-02-14T18:15:51Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Description of the BIN V1 file format&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(See the BinFilter class as an example of C++ code for reading/writing BIN files)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Warning: this is the old version that was coming with version 1 of CloudCompare!&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new BIN format is the serialization of CC&#039;s structures in memory and is too complex to detail. Consider using the SBF (Simplified BIN Format) format instead: [[SBF]]&lt;br /&gt;
&lt;br /&gt;
== Header &amp;amp; data ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:center; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Type&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Size (bits)&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Expected value&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Number of clouds&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned integer&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| generally &amp;lt;100&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ... for each cloud ...&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Number of points&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned integer&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| up to 4.294.967.296 :)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Flags&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned char&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 8&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| See description below&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ... if cloud name flag is ON ...&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Cloud name&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned char [array]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ?&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| cloud name stops at the first byte equal to 0 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ... for each point ...&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| float&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Y&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| float&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Z&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| float&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ... if color flag is ON ...&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Red&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned char&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 8&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 0-255&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Green&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned char&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 8&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 0-255&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Blue&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| unsigned char&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 8&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 0-255&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ... if normal flag is ON ...&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Nx&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| float&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [-1.0;1.0]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Ny&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| float&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [-1.0;1.0]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Nz&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| float&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [-1.0;1.0]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ... if scalar field flag is ON ...&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Scalar value&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| double&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 64&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Flags ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:center; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Bit&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Decimal value&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| always ON&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 2&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 2&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| colors&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 3&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 4&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| normals&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 4&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 8&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 5&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 16&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| cloud name&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 6&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 32&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Ignored&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 7&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 64&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Ignored&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 8&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 128&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Ignored&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Methods&amp;diff=47514</id>
		<title>Methods</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Methods&amp;diff=47514"/>
		<updated>2025-02-07T06:55:53Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Colors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Interwiki links --&amp;gt;&lt;br /&gt;
[[pl:Funkcje w menu]]&lt;br /&gt;
&lt;br /&gt;
= Menus =&lt;br /&gt;
&lt;br /&gt;
Here are described all the methods of CloudCompare in the order they appear in the menu.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(version: 2.11)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== File ==&lt;br /&gt;
&lt;br /&gt;
* [[Open]] [[File:ccOpen_small.png]]&lt;br /&gt;
* Open Recent... (&#039;&#039;open recent files&#039;&#039;)&lt;br /&gt;
* [[Save]] [[File:ccSave_small.png]]&lt;br /&gt;
* [[Global Shift settings]]&lt;br /&gt;
* [[Primitive Factory | Primitive factory]] [[File:DbMiscGeomSymbol.png]]&lt;br /&gt;
* [[mouse3D | 3D mouse &amp;gt; Enable]] [[Image:3dconnexion_logo.jpg]]&lt;br /&gt;
* [[Gamepad | Gamepad &amp;gt; Enable]] [[Image:Gamepad.png|16px]]&lt;br /&gt;
* Close all (&#039;&#039;close all loaded entities&#039;&#039;)&lt;br /&gt;
* Quit (&#039;&#039;should be pretty clear!&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Edit ==&lt;br /&gt;
* [[Clone]] [[Image:CcClone.png]]&lt;br /&gt;
* [[Merge]] [[Image:CcMerge.png]]&lt;br /&gt;
* [[Edit\Subsample | Subsample]] [[Image:CcSampleCloud.png]]&lt;br /&gt;
* [[Apply Transformation | Apply transformation]]&lt;br /&gt;
* [[Multiply/Scale]]&lt;br /&gt;
* [[Interactive Transformation Tool | Translate/Rotate]] [[Image:CCMoveIcon.png]]&lt;br /&gt;
* [[Interactive Segmentation Tool | Segment]] [[File:CCSegmentIcon.png]]&lt;br /&gt;
* [[Crop]]&lt;br /&gt;
* [[Edit global shift and scale]]&lt;br /&gt;
* [[Toggle (menu) | Toggle (recursive) submenu]]&lt;br /&gt;
* Delete (&#039;&#039;delete the selected entities&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Colors ===&lt;br /&gt;
* [[Colors\Set Unique | Set unique]] [[File:TypeRgbCcolor.png]]&lt;br /&gt;
* [[Colors\From Scalar fields | From Scalar fields]]&lt;br /&gt;
* [[Colors\Colorize | Colorize]]&lt;br /&gt;
* [[Colors\Levels | Levels]]&lt;br /&gt;
* [[Colors\Height Ramp | Height ramp]]&lt;br /&gt;
* [[Colors\Convert to grey scale | Convert to grey scale]]&lt;br /&gt;
* [[Colors\Convert to Scalar Field | Convert to scalar field]]&lt;br /&gt;
* [[Colors\Interpolate from another entity | Interpolate from another entity]]&lt;br /&gt;
* [[Colors\Enhance with intensities | Enhance with intensities]]&lt;br /&gt;
* [[Colors\Bilateral filter | Bilateral filter]]&lt;br /&gt;
* [[Colors\Gaussian filter | Gaussian filter]]&lt;br /&gt;
* [[Colors\Mean filter | Mean filter]]&lt;br /&gt;
* [[Colors\Median filter | Median filter]]&lt;br /&gt;
* Clear (&#039;&#039;remove the color field of the selected entities&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Normals ===&lt;br /&gt;
* [[Normals\Compute | Compute]] [[File:TypeNormal.png]]&lt;br /&gt;
* [[Normals\Invert | Invert]]&lt;br /&gt;
* [[Normals\Orient Normals With Minimum Spanning Tree | Orient normals &amp;gt; With Minimum Spanning Tree]]&lt;br /&gt;
* [[Normals\Orient Normals With Fast Marching | Orient normals &amp;gt; with Fast Marching]]&lt;br /&gt;
* [[Normals\Convert to HSV | Convert to &amp;gt; HSV colors]]&lt;br /&gt;
* [[Normals\Convert to Dip and Dip direction SFs | Convert to &amp;gt; Dip &amp;amp; Dip direction SFs]]&lt;br /&gt;
* [[Normals\Export normals to SF(s) | Export normals to SF(s)]]&lt;br /&gt;
* [[Normals\Set SF(s) as normal | Set SF(s) as normal]]&lt;br /&gt;
* Clear (&#039;&#039;remove normals from the selected entities&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Octree ===&lt;br /&gt;
* [[Octree\Compute | Compute]] [[File:OctreeSymbol.png]]&lt;br /&gt;
* [[Octree\Resample | Resample]]&lt;br /&gt;
&lt;br /&gt;
=== Grid ===&lt;br /&gt;
* [[Grid\Delete | Delete scan grids]]&lt;br /&gt;
* [[Grid\Mesh | Mesh scan grids]]&lt;br /&gt;
&lt;br /&gt;
=== Cloud ===&lt;br /&gt;
* [[Cloud\Create single point cloud | Create single point cloud]]&lt;br /&gt;
* [[Cloud\Paste from clipboard | Paste from clipboard]]&lt;br /&gt;
&lt;br /&gt;
=== Mesh ===&lt;br /&gt;
* [[Mesh\Delaunay_2.5D_(XY_plane) | Delaunay 2.5D (XY plane)]]&lt;br /&gt;
* [[Mesh\Delaunay_2.5D_(best_fit_plane) | Delaunay 2.5D (best fit plane)]]&lt;br /&gt;
* [[Mesh\Surface between two polylines | Surface between two polylines]]&lt;br /&gt;
* [[Mesh\Mesh scan grids | Mesh scan grids]]&lt;br /&gt;
* [[Mesh\Convert texture/material to RGB | Convert texture/material to RGB]] [[File:TypeRgbCcolor.png]]&lt;br /&gt;
* [[Mesh\Sample points | Sample points]] [[File:CCSamplePointsIcon.png]]&lt;br /&gt;
* [[Mesh\Smooth (Laplacian) | Smooth (Laplacian)]]&lt;br /&gt;
* [[Mesh\Subdivide | Subdivide]]&lt;br /&gt;
* [[Mesh\Flip triangles | Flip triangles]]&lt;br /&gt;
* [[Mesh\Measure surface | Measure surface]]&lt;br /&gt;
* [[Mesh\Measure volume | Measure volume]]&lt;br /&gt;
* [[Mesh\Flag vertices | Flag vertices by type]]&lt;br /&gt;
==== Mesh \ Scalar field ====&lt;br /&gt;
* [[Mesh\Scalar field\Smooth | Smooth]]&lt;br /&gt;
* [[Mesh\Scalar field\Enhance | Enhance]]&lt;br /&gt;
&lt;br /&gt;
=== Polyline ===&lt;br /&gt;
* [[Polyline\Sample points | Sample points]]&lt;br /&gt;
&lt;br /&gt;
=== Plane ===&lt;br /&gt;
* [[Plane\Edit and Create | Create]]&lt;br /&gt;
* [[Fit Plane | Fit]]&lt;br /&gt;
* [[Plane\Edit and Create | Edit]]&lt;br /&gt;
* [[Plane\Flip | Flip]]&lt;br /&gt;
* [[Plane\Compare | Compare]]&lt;br /&gt;
&lt;br /&gt;
=== Sensors ===&lt;br /&gt;
* [[Sensors\Edit| Edit]]&lt;br /&gt;
==== Sensors \ TLS/GBL [[Image:SensorSymbol.png]] ====&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Create | Create]]&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Show Depth Buffer | Creat/show Depth Buffer]]&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Export Depth Buffer | Export Depth Buffer]]&lt;br /&gt;
* [[Sensors\Ground Based Lidar\Compute Points Visibility With Depth Buffer | Compute points visibility (with depth buffer)]]&lt;br /&gt;
&lt;br /&gt;
==== Sensors \ Camera Sensor [[Image:DbCamSensorSymbol.png]] ====&lt;br /&gt;
* [[Sensors\Camera Sensor\Create | Create]]&lt;br /&gt;
* [[Sensors\Camera Sensor\Project uncertainty | Project uncertainty]]&lt;br /&gt;
* [[Sensors\Camera Sensor\Compute points visibility (with octree) | Compute points visibility (with octree)]]&lt;br /&gt;
==== Sensors \ Other ====&lt;br /&gt;
* [[Sensors\View from sensor | View from sensor]] [[Image:DbViewportSymbol.png]]&lt;br /&gt;
* [[Sensors\Compute ranges | Compute Ranges]]&lt;br /&gt;
* [[Sensors\Compute scattering angles | Compute Scattering Angles]]&lt;br /&gt;
&lt;br /&gt;
=== Scalar fields ===&lt;br /&gt;
* [[Scalar fields\Show histogram | Show histogram]] [[Image:CcHistogram.png]]&lt;br /&gt;
* [[Scalar fields\Compute statistical parameters | Compute stat. params]] [[Image:CcComputeStat.png]]&lt;br /&gt;
* [[Scalar fields\Gradient | Gradient]] [[Image:CcGradient.png]]&lt;br /&gt;
* [[Scalar fields\Gaussian filter | Gaussian filter]] [[Image:CcGaussianFilter.png]]&lt;br /&gt;
* [[Scalar fields\Bilateral filter | Bilateral filter]] [[Image:CcBilateralFilter.png]]&lt;br /&gt;
* [[Scalar fields\Filter by Value | Filter by Value]] [[Image:CcFilterByValue.png]]&lt;br /&gt;
* [[Scalar fields\Convert to RGB | Convert to RGB]] [[Image:TypeRgbCcolor.png]]&lt;br /&gt;
* [[Scalar fields\Convert to random RGB | Convert to random RGB]]&lt;br /&gt;
* [[Scalar fields\Rename | Rename]]&lt;br /&gt;
* [[Scalar fields\Add constant SF | Add constant SF]] [[Image:CcAddConstSF.png]]&lt;br /&gt;
* [[Scalar fields\Add classification SF | Add classification SF]] [[Image:CcAddConstSF.png]]&lt;br /&gt;
* [[Scalar fields\Add point indexes as SF | Add point indexes as SF]]&lt;br /&gt;
* [[Scalar fields\Export coordinate(s) to SF(s) | Export coordinate(s) to SF(s)]]&lt;br /&gt;
* [[Scalar fields\Set SF as coordinate(s) | Set SF as coordinate(s)]]&lt;br /&gt;
* [[Normals\Export normals to SF(s) | Export normals to SF(s)]]&lt;br /&gt;
* [[Normals\Set SF(s) as normal | Set SF(s) as normal]]&lt;br /&gt;
* [[Scalar fields\Interpolate from another entity | Interpolate from another entity]]&lt;br /&gt;
* [[Scalar fields\Split cloud (integer values) | Split cloud (integer values)]]&lt;br /&gt;
* [[Scalar fields\Arithmetic | Arithmetic]] [[Image:CcSfArithmetic.png]]&lt;br /&gt;
* [[Scalar fields\Color Scales Manager | Color Scales Manager]] [[Image:TypeSF.png]]&lt;br /&gt;
* Delete [[Image:CcDeleteSF.png]] (deletes the active scalar field of the selected entities)&lt;br /&gt;
* Delete all (!) (deletes all scalar fields of the selected entities)&lt;br /&gt;
&lt;br /&gt;
=== Waveform ===&lt;br /&gt;
* [[Waveform\2D Waveform viewer | 2D Waveform viewer]]&lt;br /&gt;
* [[Waveform\Compress FWF data | Compress FWF data]]&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
* [[Level]] [[Image:CcLevel small.png]]&lt;br /&gt;
* [[Point Picking]] [[Image:CcPointPicking_small.png]]&lt;br /&gt;
* [[Point list picking]] [[Image:CcPointListPicking_small.png]]&lt;br /&gt;
* [[Trace polyline]] [[Image:CcTracePolyline.png]]&lt;br /&gt;
&lt;br /&gt;
=== Clean ===&lt;br /&gt;
* [[SOR filter]]&lt;br /&gt;
* [[Noise filter]]&lt;br /&gt;
&lt;br /&gt;
=== Projection ===&lt;br /&gt;
* [[Unroll]]&lt;br /&gt;
* [[Rasterize | Rasterize (and contour plot)]] [[Image:CcGrid_small.png]]&lt;br /&gt;
* [[Contour plot to mesh | Contour plot (polylines) to mesh]]&lt;br /&gt;
* [[Scalar fields\Export coordinate(s) to SF(s) | Export coordinate(s) to SF(s)]]&lt;br /&gt;
* [[Mesh\Surface between two polylines | Create surface between two polylines]]&lt;br /&gt;
&lt;br /&gt;
=== Registration ===&lt;br /&gt;
* [[Match bounding box centers | Match bounding-box centers]]&lt;br /&gt;
* [[Match scales]]&lt;br /&gt;
* [[Align | Align (point pairs picking)]] [[File:Cc_pointPairAlignIcon.png‎]]&lt;br /&gt;
* [[ICP | Fine registration (ICP)]] [[File:CCRegisterIcon.png‎]]&lt;br /&gt;
* [[Registration\Move bounding-box ... to origin | Move bounding-box center to origin]]&lt;br /&gt;
* [[Registration\Move bounding-box ... to origin | Move bounding-box min corner to origin]]&lt;br /&gt;
* [[Registration\Move bounding-box ... to origin | Move bounding-box max corner to origin]]&lt;br /&gt;
&lt;br /&gt;
=== Distances ===&lt;br /&gt;
* [[Cloud-to-Cloud_Distance | Cloud/Cloud Dist.]] [[File:CloudCloudDistanceIcon.png‎]]&lt;br /&gt;
* [[Cloud-to-Mesh Distance | Cloud/Mesh Dist]] [[File:CloudMeshDistanceIcon.png]]&lt;br /&gt;
* [[Cloud-to-Primitive Distance | Cloud/Primitive Dist]]&lt;br /&gt;
* [[Closest Point Set]]&lt;br /&gt;
&lt;br /&gt;
=== Volume ===&lt;br /&gt;
* [[2.5D Volume | Compute 2.5D volume]]&lt;br /&gt;
&lt;br /&gt;
=== Statistics ===&lt;br /&gt;
* [[Local Statistical Test]] [[Image:CcStatTest.png]]&lt;br /&gt;
* [[Compute Stat Params | Compute stat. params (active SF)]] [[File:CcComputeStat.png]]&lt;br /&gt;
&lt;br /&gt;
=== Segmentation ===&lt;br /&gt;
* [[Label Connected Components | Label Connected Comp.]] [[Image:CcCCExtract.png]]&lt;br /&gt;
* [[Cross Section]] [[Image:CcClippingBox_small.png]]&lt;br /&gt;
* [[Extract Sections]] / Unfold [[Image:DbPolylineSymbol.png]]&lt;br /&gt;
&lt;br /&gt;
=== Fit ===&lt;br /&gt;
* [[Fit Plane | Plane ]]&lt;br /&gt;
* [[Fit Sphere | Sphere ]]&lt;br /&gt;
* [[Fit 2D Polygon | 2D Polygon (facet) ]]&lt;br /&gt;
* [[Fit Quadric | 2.5D Quadric ]]&lt;br /&gt;
&lt;br /&gt;
=== Batch export  ===&lt;br /&gt;
* [[Export cloud info]]&lt;br /&gt;
* [[Export plane info]]&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* [[Compute geometric features]] (v2.10+)&lt;br /&gt;
* [[Density]] (v2.9)&lt;br /&gt;
* [[Curvature]] (v2.9)&lt;br /&gt;
* [[Roughness]] (v2.9)&lt;br /&gt;
* [[Remove duplicate points]]&lt;br /&gt;
&lt;br /&gt;
== Display ==&lt;br /&gt;
* [[Full screen]] [[Image:CcFullScreen_small.png]]&lt;br /&gt;
* [[Full screen (3D view)]] [[Image:CcFullScreen_small.png]]&lt;br /&gt;
* [[Refresh]] [[Image:SmallReset.png]]&lt;br /&gt;
* [[Toggle Centered Perspective]] [[Image:CcCenteredPerspective_small.png]]&lt;br /&gt;
* [[Toggle Viewer Based Perspective]] [[Image:CcViewerBasedPerspective_small.png]]&lt;br /&gt;
* [[Show cursor coordinates]]&lt;br /&gt;
* [[Lock rotation about vert. axis]]&lt;br /&gt;
* [[Enter bubble-view mode]]&lt;br /&gt;
* [[Camera link]]&lt;br /&gt;
* [[Render to File]]&lt;br /&gt;
* [[Display\Display settings | Display options]] [[Image:CcSettings.png]]&lt;br /&gt;
* [[Display\Camera settings | Camera settings]] [[Image:Camera.png]]&lt;br /&gt;
* [[Display\Save viewport as object | Save viewport as object]] [[Image:DbViewportSymbol.png]]&lt;br /&gt;
* [[Display\Adjust zoom | Adjust zoom]]&lt;br /&gt;
* [[Display\Test Frame Rate | Test Frame Rate]]&lt;br /&gt;
&lt;br /&gt;
=== Lights ===&lt;br /&gt;
* [[Display\Lights\Toggle Sun Light | Toggle Sun Light]]&lt;br /&gt;
* [[Display\Lights\Toggle Custom Light | Toggle Custom Light]]&lt;br /&gt;
&lt;br /&gt;
=== Shaders &amp;amp; Filters ===&lt;br /&gt;
* [[Display\Shaders and Filters\Remove filter | Remove filter]]&lt;br /&gt;
* &#039;&#039;dynamically loaded shaders &amp;amp; filters&#039;&#039;: [[Plugin qEDL | qEDL]], [[Plugin qSSAO | qSSAO]], etc.&lt;br /&gt;
&lt;br /&gt;
=== Active scalar field ===&lt;br /&gt;
* [[Display\Active scalar field\Toggle color scale | Toggle color scale]]&lt;br /&gt;
* [[Display\Active scalar field\Show previous SF | Show previous SF]]&lt;br /&gt;
* [[Display\Active scalar field\Show next SF | Show next SF]]&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* [[Console]] [[Image:CcConsole_small.png]]&lt;br /&gt;
* [[Toolbars]]&lt;br /&gt;
* Language Translation &amp;gt; ... &#039;&#039;(below should appear the available and potentially partially supported languages)&#039;&#039;&lt;br /&gt;
* [[Display\Reset all GUI elements | Reset all GUI elements]]&lt;br /&gt;
&lt;br /&gt;
== Plugins ==&lt;br /&gt;
&#039;&#039;Dynamic content (depends on the current version/platform)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Go to the [[Plugins]] section for the full list.&lt;br /&gt;
&lt;br /&gt;
== 3D Views ==&lt;br /&gt;
* New&lt;br /&gt;
* Close&lt;br /&gt;
* Close All&lt;br /&gt;
* Tile&lt;br /&gt;
* Cascade&lt;br /&gt;
* Next&lt;br /&gt;
* Previous&lt;br /&gt;
&lt;br /&gt;
== Help ==&lt;br /&gt;
* [[Help menu | Help]]&lt;br /&gt;
* [[About menu | About ...]]&lt;br /&gt;
* [[About Plugins menu|  About Plugins ...]]&lt;br /&gt;
* Enable Qt warnings in Console &#039;&#039;(for obvious debug purposes ;)&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47513</id>
		<title>Unroll</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47513"/>
		<updated>2025-02-06T15:47:04Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Unroll&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This method &#039;unrolls&#039; a point cloud from a cylindrical (or conical) shape onto a plane:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_input.jpg|frame|center|Cylindrical shape to unroll]]&lt;br /&gt;
[[Image:Cc_unroll_result.jpg|frame|center|Cylindrical shape unrolled]]&lt;br /&gt;
[[Image:Cc_unroll_cone_example.jpg|frame|center|Unrolled cone]]&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select a single cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
=== Cylinder ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cylinder_dialog.jpg|frame|center|&#039;Unroll cylinder&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z, or a custom 3D axis)&lt;br /&gt;
* cylinder radius&lt;br /&gt;
* optionally a point on the axis (&#039;&#039;otherwise CloudCompare can try to guess it by computing the gravity center of the point cloud&#039;&#039;)&lt;br /&gt;
* since version 2.11, it is also possible to specify the angular range. By default it&#039;s [0-360], but you can input any angular value, and even multiple revolutions.&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cylinder primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
[[Image:Unroll_angles.JPG|frame|center|&#039;Unroll angular zero and sign&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
=== Cone ===&lt;br /&gt;
&lt;br /&gt;
Since version 2.9, this method unrolls a cone in a way that preserves surfaces (as if the cone was &#039;rolling&#039; on a planar surface).&lt;br /&gt;
And since version 2.13, a sub-option &#039;Projection&#039; allows to choose the type of conical projection among:&lt;br /&gt;
* Conical&lt;br /&gt;
* Cylindrical (fixed radius)&lt;br /&gt;
** this mode corresponds to the old &#039;Cone&#039; unrolling mode in version 2.8 and prior. It unrolls a cone-shaped cloud as if it was a cylinder, by first &#039;straightening&#039; the cone walls.&lt;br /&gt;
* Cylindrical (adaptive radius)&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cone_dialog.jpg|frame|center|&#039;Unroll cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z or a custom 3D axis)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex) in degrees&lt;br /&gt;
* the cone apex position in 3D&lt;br /&gt;
* span ratio&lt;br /&gt;
* start and stop angles&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cone primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
== Export deviation scalar field ==&lt;br /&gt;
&lt;br /&gt;
A checkbox named &#039;Export deviation scalar field&#039; allows to compute for each point its radial distance to the theoretical unrolling shape (cylinder or cone). A new scalar field will be added to the output cloud.&lt;br /&gt;
&lt;br /&gt;
== Output unrolled cloud in an arbitrary coordinate system ==&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now possible to output the unrolled cloud in an arbitrary coordinate system:&lt;br /&gt;
* X: unroll angle&lt;br /&gt;
* Y: distance to primitive&lt;br /&gt;
* Z: longitude&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47512</id>
		<title>Unroll</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47512"/>
		<updated>2025-02-06T15:45:07Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Cone */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Unroll&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This method &#039;unrolls&#039; a point cloud from a cylindrical (or conical) shape onto a plane:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_input.jpg|frame|center|Cylindrical shape to unroll]]&lt;br /&gt;
[[Image:Cc_unroll_result.jpg|frame|center|Cylindrical shape unrolled]]&lt;br /&gt;
[[Image:Cc_unroll_cone_example.jpg|frame|center|Unrolled cone]]&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now possible to:&lt;br /&gt;
* define a custom 3D axis&lt;br /&gt;
* init the unrolling parameters with an existing cylinder or cone entity present in the database&lt;br /&gt;
* output the unrolled cloud in an arbitrary coordinate system&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select a single cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
=== Cylinder ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cylinder_dialog.jpg|frame|center|&#039;Unroll cylinder&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z, or a custom 3D axis)&lt;br /&gt;
* cylinder radius&lt;br /&gt;
* optionally a point on the axis (&#039;&#039;otherwise CloudCompare can try to guess it by computing the gravity center of the point cloud&#039;&#039;)&lt;br /&gt;
* since version 2.11, it is also possible to specify the angular range. By default it&#039;s [0-360], but you can input any angular value, and even multiple revolutions.&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cylinder primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
[[Image:Unroll_angles.JPG|frame|center|&#039;Unroll angular zero and sign&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
=== Cone ===&lt;br /&gt;
&lt;br /&gt;
Since version 2.9, this method unrolls a cone in a way that preserves surfaces (as if the cone was &#039;rolling&#039; on a planar surface).&lt;br /&gt;
And since version 2.13, a sub-option &#039;Projection&#039; allows to choose the type of conical projection among:&lt;br /&gt;
* Conical&lt;br /&gt;
* Cylindrical (fixed radius)&lt;br /&gt;
** this mode corresponds to the old &#039;Cone&#039; unrolling mode in version 2.8 and prior. It unrolls a cone-shaped cloud as if it was a cylinder, by first &#039;straightening&#039; the cone walls.&lt;br /&gt;
* Cylindrical (adaptive radius)&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cone_dialog.jpg|frame|center|&#039;Unroll cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z or a custom 3D axis)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex) in degrees&lt;br /&gt;
* the cone apex position in 3D&lt;br /&gt;
* span ratio&lt;br /&gt;
* start and stop angles&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cone primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
=== Straightened cone ===&lt;br /&gt;
&lt;br /&gt;
This mode was corresponding to the &#039;Cone&#039; unrolling mode in version 2.8 and prior.&lt;br /&gt;
&lt;br /&gt;
This method unrolls a cone-shaped cloud as if it was a cylinder, by first &#039;straightening&#039; the cone walls.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_straightened_cone_dialog.jpg|frame|center|&#039;Unroll straightened cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a straightened conical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex - in degrees)&lt;br /&gt;
* the cone apex position&lt;br /&gt;
* the base radius of the &#039;straightened&#039; cone (= cylinder)&lt;br /&gt;
&lt;br /&gt;
== Export deviation scalar field ==&lt;br /&gt;
&lt;br /&gt;
A checkbox named &#039;Export deviation scalar field&#039; allows to compute for each point its radial distance to the theoretical unrolling shape (cylinder or cone). A new scalar field will be added to the output cloud.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47511</id>
		<title>Unroll</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47511"/>
		<updated>2025-02-06T15:43:58Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Cylinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Unroll&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This method &#039;unrolls&#039; a point cloud from a cylindrical (or conical) shape onto a plane:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_input.jpg|frame|center|Cylindrical shape to unroll]]&lt;br /&gt;
[[Image:Cc_unroll_result.jpg|frame|center|Cylindrical shape unrolled]]&lt;br /&gt;
[[Image:Cc_unroll_cone_example.jpg|frame|center|Unrolled cone]]&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now possible to:&lt;br /&gt;
* define a custom 3D axis&lt;br /&gt;
* init the unrolling parameters with an existing cylinder or cone entity present in the database&lt;br /&gt;
* output the unrolled cloud in an arbitrary coordinate system&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select a single cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
=== Cylinder ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cylinder_dialog.jpg|frame|center|&#039;Unroll cylinder&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z, or a custom 3D axis)&lt;br /&gt;
* cylinder radius&lt;br /&gt;
* optionally a point on the axis (&#039;&#039;otherwise CloudCompare can try to guess it by computing the gravity center of the point cloud&#039;&#039;)&lt;br /&gt;
* since version 2.11, it is also possible to specify the angular range. By default it&#039;s [0-360], but you can input any angular value, and even multiple revolutions.&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cylinder primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
[[Image:Unroll_angles.JPG|frame|center|&#039;Unroll angular zero and sign&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
=== Cone ===&lt;br /&gt;
&lt;br /&gt;
Since version 2.9, this method unrolls a cone in a way that preserves surfaces (as if the cone was &#039;rolling&#039; on a planar surface).&lt;br /&gt;
And since version 2.13, a sub-option &#039;Projection&#039; allows to choose the type of conical projection among:&lt;br /&gt;
* Conical&lt;br /&gt;
* Cylindrical (fixed radius)&lt;br /&gt;
* Cylindrical (adaptive radius)&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cone_dialog.jpg|frame|center|&#039;Unroll cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z or a custom 3D axis)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex) in degrees&lt;br /&gt;
* the cone apex position in 3D&lt;br /&gt;
* span ratio&lt;br /&gt;
* start and stop angles&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cone primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
=== Straightened cone ===&lt;br /&gt;
&lt;br /&gt;
This mode was corresponding to the &#039;Cone&#039; unrolling mode in version 2.8 and prior.&lt;br /&gt;
&lt;br /&gt;
This method unrolls a cone-shaped cloud as if it was a cylinder, by first &#039;straightening&#039; the cone walls.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_straightened_cone_dialog.jpg|frame|center|&#039;Unroll straightened cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a straightened conical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex - in degrees)&lt;br /&gt;
* the cone apex position&lt;br /&gt;
* the base radius of the &#039;straightened&#039; cone (= cylinder)&lt;br /&gt;
&lt;br /&gt;
== Export deviation scalar field ==&lt;br /&gt;
&lt;br /&gt;
A checkbox named &#039;Export deviation scalar field&#039; allows to compute for each point its radial distance to the theoretical unrolling shape (cylinder or cone). A new scalar field will be added to the output cloud.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47510</id>
		<title>Unroll</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47510"/>
		<updated>2025-02-06T15:42:29Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Cone */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Unroll&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This method &#039;unrolls&#039; a point cloud from a cylindrical (or conical) shape onto a plane:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_input.jpg|frame|center|Cylindrical shape to unroll]]&lt;br /&gt;
[[Image:Cc_unroll_result.jpg|frame|center|Cylindrical shape unrolled]]&lt;br /&gt;
[[Image:Cc_unroll_cone_example.jpg|frame|center|Unrolled cone]]&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now possible to:&lt;br /&gt;
* define a custom 3D axis&lt;br /&gt;
* init the unrolling parameters with an existing cylinder or cone entity present in the database&lt;br /&gt;
* output the unrolled cloud in an arbitrary coordinate system&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select a single cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
=== Cylinder ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cylinder_dialog.jpg|frame|center|&#039;Unroll cylinder&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a cylindrical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* cylinder radius&lt;br /&gt;
* optionally a point on the axis (&#039;&#039;otherwise CloudCompare can try to guess it by computing the gravity center of the point cloud&#039;&#039;)&lt;br /&gt;
* since version 2.11, it is also possible to specify the angular range. By default it&#039;s [0-360], but you can input any angular value, and even multiple revolutions.&lt;br /&gt;
&lt;br /&gt;
[[Image:Unroll_angles.JPG|frame|center|&#039;Unroll angular zero and sign&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
=== Cone ===&lt;br /&gt;
&lt;br /&gt;
Since version 2.9, this method unrolls a cone in a way that preserves surfaces (as if the cone was &#039;rolling&#039; on a planar surface).&lt;br /&gt;
And since version 2.13, a sub-option &#039;Projection&#039; allows to choose the type of conical projection among:&lt;br /&gt;
* Conical&lt;br /&gt;
* Cylindrical (fixed radius)&lt;br /&gt;
* Cylindrical (adaptive radius)&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cone_dialog.jpg|frame|center|&#039;Unroll cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
Main parameters are:&lt;br /&gt;
* axis of revolution (X, Y, Z or a custom 3D axis)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex) in degrees&lt;br /&gt;
* the cone apex position in 3D&lt;br /&gt;
* span ratio&lt;br /&gt;
* start and stop angles&lt;br /&gt;
&lt;br /&gt;
Most of these parameters can be populated by choosing an existing cone primitive already loaded in the database.&lt;br /&gt;
&lt;br /&gt;
=== Straightened cone ===&lt;br /&gt;
&lt;br /&gt;
This mode was corresponding to the &#039;Cone&#039; unrolling mode in version 2.8 and prior.&lt;br /&gt;
&lt;br /&gt;
This method unrolls a cone-shaped cloud as if it was a cylinder, by first &#039;straightening&#039; the cone walls.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_straightened_cone_dialog.jpg|frame|center|&#039;Unroll straightened cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a straightened conical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex - in degrees)&lt;br /&gt;
* the cone apex position&lt;br /&gt;
* the base radius of the &#039;straightened&#039; cone (= cylinder)&lt;br /&gt;
&lt;br /&gt;
== Export deviation scalar field ==&lt;br /&gt;
&lt;br /&gt;
A checkbox named &#039;Export deviation scalar field&#039; allows to compute for each point its radial distance to the theoretical unrolling shape (cylinder or cone). A new scalar field will be added to the output cloud.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=File:Cc_unroll_cone_dialog.jpg&amp;diff=47509</id>
		<title>File:Cc unroll cone dialog.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=File:Cc_unroll_cone_dialog.jpg&amp;diff=47509"/>
		<updated>2025-02-06T15:38:46Z</updated>

		<summary type="html">&lt;p&gt;Daniel: Daniel uploaded a new version of File:Cc unroll cone dialog.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=File:Cc_unroll_cylinder_dialog.jpg&amp;diff=47508</id>
		<title>File:Cc unroll cylinder dialog.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=File:Cc_unroll_cylinder_dialog.jpg&amp;diff=47508"/>
		<updated>2025-02-06T15:37:54Z</updated>

		<summary type="html">&lt;p&gt;Daniel: Daniel uploaded a new version of File:Cc unroll cylinder dialog.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47507</id>
		<title>Unroll</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Unroll&amp;diff=47507"/>
		<updated>2025-02-06T15:36:07Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Unroll&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This method &#039;unrolls&#039; a point cloud from a cylindrical (or conical) shape onto a plane:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_input.jpg|frame|center|Cylindrical shape to unroll]]&lt;br /&gt;
[[Image:Cc_unroll_result.jpg|frame|center|Cylindrical shape unrolled]]&lt;br /&gt;
[[Image:Cc_unroll_cone_example.jpg|frame|center|Unrolled cone]]&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now possible to:&lt;br /&gt;
* define a custom 3D axis&lt;br /&gt;
* init the unrolling parameters with an existing cylinder or cone entity present in the database&lt;br /&gt;
* output the unrolled cloud in an arbitrary coordinate system&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select a single cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
=== Cylinder ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cylinder_dialog.jpg|frame|center|&#039;Unroll cylinder&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a cylindrical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* cylinder radius&lt;br /&gt;
* optionally a point on the axis (&#039;&#039;otherwise CloudCompare can try to guess it by computing the gravity center of the point cloud&#039;&#039;)&lt;br /&gt;
* since version 2.11, it is also possible to specify the angular range. By default it&#039;s [0-360], but you can input any angular value, and even multiple revolutions.&lt;br /&gt;
&lt;br /&gt;
[[Image:Unroll_angles.JPG|frame|center|&#039;Unroll angular zero and sign&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
=== Cone ===&lt;br /&gt;
&lt;br /&gt;
Since version 2.9, this method unrolls a cone in a way that preserves surfaces (as if the cone was &#039;rolling&#039; on a planar surface).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_cone_dialog.jpg|frame|center|&#039;Unroll cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a conical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex) in degrees&lt;br /&gt;
* the cone apex position in 3D&lt;br /&gt;
&lt;br /&gt;
=== Straightened cone ===&lt;br /&gt;
&lt;br /&gt;
This mode was corresponding to the &#039;Cone&#039; unrolling mode in version 2.8 and prior.&lt;br /&gt;
&lt;br /&gt;
This method unrolls a cone-shaped cloud as if it was a cylinder, by first &#039;straightening&#039; the cone walls.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_unroll_straightened_cone_dialog.jpg|frame|center|&#039;Unroll straightened cone&#039; dialog]]&lt;br /&gt;
&lt;br /&gt;
To unroll a straightened conical shape, the parameters are:&lt;br /&gt;
* axis of revolution (X, Y or Z)&lt;br /&gt;
* half angle (this is the &#039;&#039;aperture&#039;&#039; angle at the cone apex - in degrees)&lt;br /&gt;
* the cone apex position&lt;br /&gt;
* the base radius of the &#039;straightened&#039; cone (= cylinder)&lt;br /&gt;
&lt;br /&gt;
== Export deviation scalar field ==&lt;br /&gt;
&lt;br /&gt;
A checkbox named &#039;Export deviation scalar field&#039; allows to compute for each point its radial distance to the theoretical unrolling shape (cylinder or cone). A new scalar field will be added to the output cloud.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Compute_geometric_features&amp;diff=47506</id>
		<title>Compute geometric features</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Compute_geometric_features&amp;diff=47506"/>
		<updated>2025-01-02T21:57:57Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Menu =&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Other &amp;gt; Compute geometric features&#039; menu.&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
This tool allows to computation several geometric features on one or several point clouds (in a batch).&lt;br /&gt;
&lt;br /&gt;
Geometric features that can be computed this way are:&lt;br /&gt;
* Roughness&lt;br /&gt;
** equivalent to the former [[Roughness]] tool of v2.9 and below&lt;br /&gt;
** in version 2.12, an option allows to compute signed roughness values based on a &#039;up vector&#039;&lt;br /&gt;
* Curvature (equivalent to the former [[Curvature]] tool of v2.9 and below)&lt;br /&gt;
** Mean curvature&lt;br /&gt;
** Gaussian curvature&lt;br /&gt;
** Normal change rate&lt;br /&gt;
* Density (equivalent to the former [[Density]] tool of v2.9 and below)&lt;br /&gt;
** Number of neighbors&lt;br /&gt;
** Surface density&lt;br /&gt;
** Volume density&lt;br /&gt;
* Moment&lt;br /&gt;
** 1st order moment&lt;br /&gt;
* Features&lt;br /&gt;
** Sum of eigenvalues&lt;br /&gt;
** Omnivariance&lt;br /&gt;
** Eigenentropy&lt;br /&gt;
** Anisotropy&lt;br /&gt;
** Planarity&lt;br /&gt;
** Linearity&lt;br /&gt;
** PCA 1&lt;br /&gt;
** PCA 2&lt;br /&gt;
** Surface variation&lt;br /&gt;
** Sphericity&lt;br /&gt;
** Verticality&lt;br /&gt;
** 1st eigenvalue&lt;br /&gt;
** 2nd eigenvalue&lt;br /&gt;
** 3rd eigenvalue&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes:&lt;br /&gt;
* most of the above features are defined in [https://ethz.ch/content/dam/ethz/special-interest/baug/igp/photogrammetry-remote-sensing-dam/documents/pdf/timo-jan-cvpr2016.pdf &amp;quot;Contour detection in unstructured 3D point clouds&amp;quot;, Hackel et al, 2016&#039;&#039;&#039;]&lt;br /&gt;
* curvature formulas computed from a local quadric function come from: &amp;quot;Three-dimensional surface curvature estimation using quadric surface patches&amp;quot;, I. Douros and B. Buxton, University College London&lt;br /&gt;
* roughness computation algorithm is described in the old [[Roughness]] tool description page&lt;br /&gt;
&lt;br /&gt;
= Procedure =&lt;br /&gt;
&lt;br /&gt;
Select one or several point clouds then launch this tool.&lt;br /&gt;
&lt;br /&gt;
A dialog will appear:&lt;br /&gt;
[[Image:Compute_geometric_features.jpg|center]]&lt;br /&gt;
&lt;br /&gt;
Then set the &#039;Local neighborhood radius&#039; on which the selected features will be computed.&lt;br /&gt;
&lt;br /&gt;
Then choose the geometric feature(s) that should be computed (several features can be selected/checked at the same time).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* currently each feature is computed independently. The extraction of the local neighborhood is sadly not leveraged for all the features...&lt;br /&gt;
* since version 2.12, an option allows to define a &#039;up direction&#039; to compute signed roughness values&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
&lt;br /&gt;
On success, CC will compute the selected features one by one and create a scalar field for each.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=FILE_I/O&amp;diff=47505</id>
		<title>FILE I/O</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=FILE_I/O&amp;diff=47505"/>
		<updated>2024-12-24T10:39:40Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Interwiki links --&amp;gt;&lt;br /&gt;
[[pl:Rodzaje wspieranych plików]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Supported file formats&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:center; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Type&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Extension(s)&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Read&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Write&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Binary/ASCII&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Point Cloud(s)&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Mesh(es)&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Other&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[BIN]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .bin&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| CloudCompare own format &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB), scalar fields (&amp;gt;1), labels, viewports, display options, etc.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[SBF]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .sbf&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Simple binary format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 0&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 0&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Scalar fields (&amp;gt;1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[ASCII]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .asc,.txt,.xyz,.neu,.pts&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII point cloud file (X,Y,Z,etc.)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB), scalar fields (all)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| LAS&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .las&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [https://www.asprs.org/divisions-committees/lidar-division/laser-las-file-format-exchange-activities ASPRS] lidar point clouds&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Colors (RGB) and various scalar fields (see LAS 1.4 specifications)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| E57&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .e57&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.ri.cmu.edu/publication_view.html?pub_id=6767 ASTM E57] file format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| mixed&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Calibrated picture(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB or I), scalar field (intensity)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| PTX&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .ptx&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.leica-geosystems.com/kb/?guid=5532D590-114C-43CD-A55F-FE79E5937CB2 LEICA] point cloud export format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ascii&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Sensor(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Robust normals can be computed at loading time&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| FARO&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .fls, *.fws&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.faro.com FARO] formats&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Sensor(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Scalar field (reflection value)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| DP&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .dp&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.dotproduct3d.com/ DotProduct] (DPI-7) format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Sensor(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Colors (RGB), robust normals can be computed at loading time&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| PCD&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .pcd&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://pointclouds.org/ Point Cloud Library] format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Colors (RGB), normals, scalar fields (&amp;gt;1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| PLY&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .ply&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.graphics.stanford.edu/data/3Dscanrep Stanford] 3D geometry format (cloud or mesh)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| both&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB or I), one or several scalar fields, a single texture&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| DRACO&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .drc&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [https://github.com/google/draco Draco] compressed file (cloud or mesh)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| both&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors, up to one scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| OBJ&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .obj&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://en.wikipedia.org/wiki/Wavefront_.obj_file Wavefront] mesh&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Polyline(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, materials and textures&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| VTK&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .vtk&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.vtk.org VTK] file format (triangular mesh or cloud only)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB), scalar field(s) (&amp;gt;1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| STL&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .stl&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://en.wikipedia.org/wiki/STL_%28file_format%29 STereoLithography file format] (mesh)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| OFF&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .off&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://www.cs.princeton.edu/courses/archive/spr08/cos426/assn2/formats.html Object File Format] (mesh)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| FBX&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .fbx&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://en.wikipedia.org/wiki/FBX Autodesk (Filmbox) File Format]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII or BINARY&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB), materials and textures&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| DXF&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .dxf&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://en.wikipedia.org/wiki/AutoCAD_DXF Autocad DXF] format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| polyline(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals, colors (RGB)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| SHP&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .shp&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://en.wikipedia.org/wiki/Shapefile ESRI Shape] file format&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Polyline(s), polygon(s), contour plot(s), etc.&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Scalar fields (1 per entity)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| PDMS&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .pdms, .pdmsmac, .mac&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| PDMS macros&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Primitive(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| RASTER&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .geotiff, etc.&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Common raster formats ([http://en.wikipedia.org/wiki/GDAL GDAL])&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X (use the [[Rasterize]] tool)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Layers (as scalar fields)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[AirPhotoSE | OUT (Bundler)]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .out&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://phototour.cs.washington.edu/bundler Bundler] SfM output file (more information [[AirPhotoSE | here]])&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| (1)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Calibrated picture(s), 3D keypoints&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 2D images&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .jpg, *.png, *.bmp, etc.&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Standard images&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[PV]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .pv&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Point cloud + scalar field&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Scalar field (1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[PN]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .pn&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Point cloud + normals&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| binary&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Normals&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| SOI&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .soi&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Mensi/Trimble Soisic laser scanner&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Colors (I)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[POV]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .pov&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Multiple stations (meta file)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII + both&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;gt;1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| All + sensor poses&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [[ICM]]&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .icm&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Cloud + calibrated pictures&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII + both&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Picture(s)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| All + camera poses&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Geo-Mascaret&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .georef&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| [http://chercheurs.edf.com/logiciels/code-mascaret-41197.html Mascaret] profiles&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Profiles (polylines)&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Sinusx&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .sx&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Sinusx curves&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Polylines&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| CSV matrix&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| .csv&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Cloud as 2D1/2 matrix&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| X&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| ASCII&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| 1&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dialogs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File_open/save_dialogs | Standard dialog]]&lt;br /&gt;
&lt;br /&gt;
[[ASCII file open dialog | ASCII dialog]]&lt;br /&gt;
&lt;br /&gt;
[[PLY file open dialog | PLY dialog]]&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47504</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47504"/>
		<updated>2024-12-08T14:37:11Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.14.alpha) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn {-OUTSIDE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined (after the coordinates of the vertices) only the points falling outside the input polyline will be kept (instead of inside by default)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Rasterize&amp;diff=47503</id>
		<title>Rasterize</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Rasterize&amp;diff=47503"/>
		<updated>2024-12-03T22:04:34Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Menu / Icon =&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the &#039;Tools &amp;gt; Projection &amp;gt; Rasterize&#039; menu or the [[Image:CcGrid_small.png]] icon in the upper main toolbar.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(Prior to version 2.6.1, this tool was named &#039;Height grid generation&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
The main purpose of this tool is to &#039;rasterize&#039; a point cloud (i.e. convert it to a 2.5D grid) and then export it as a new cloud or a raster image (geotiff) for instance.&lt;br /&gt;
&lt;br /&gt;
Another application since version 2.6.1 is &#039;Contour plot&#039; generation.&lt;br /&gt;
&lt;br /&gt;
= Procedure =&lt;br /&gt;
&lt;br /&gt;
Select one cloud then start this tool.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_input.jpg|frame|center|Input cloud]]&lt;br /&gt;
&lt;br /&gt;
A dedicated dialog with an embedded 3D view will appear. Some pieces of information about the selected cloud are displayed in the upper-left corner. The most important is the height range and the minimum and maximum height values of the cloud (&#039;&#039;the height being considered along the projection dimension&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Generating a raster grid ==&lt;br /&gt;
&lt;br /&gt;
The first and mandatory step is to generate the raster grid.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_dialog.jpg|frame|center|&#039;Rasterize&#039; tool dialog]]&lt;br /&gt;
&lt;br /&gt;
The user must define the main (raster) grid generation parameters:&lt;br /&gt;
* the grid step size (&#039;&#039;CloudCompare will update the resulting grid size below so that the user can check that the grid is neither too big nor too small before actually generating the grid&#039;&#039;)&lt;br /&gt;
* the projection direction (X, Y or Z - default: Z)&lt;br /&gt;
* how the &#039;height&#039; of each cell grid will be computed:&lt;br /&gt;
** minimum value of all points falling in this cell&lt;br /&gt;
** average value of all points falling in this cell&lt;br /&gt;
** maximum value of all points falling in this cell&lt;br /&gt;
** since version 2.13:&lt;br /&gt;
*** median value of all points falling in this cell&lt;br /&gt;
*** inverse variance: the height or scalar value of each cell is equal to a weighted average of the points falling inside the cell. The weights are equal to the inverse variance (= 1/std_dev^2). Standard deviation values (std_dev) are obtained from an already existing scalar field, which must be selected by the user.&lt;br /&gt;
* similarly, if the &#039;project SF(s)&#039; option is checked, scalar field values can be &#039;projected&#039; onto the raster as well. When multiple points/SF values fall inside the same raster cell, CC can extract the single SF value for this cell as:&lt;br /&gt;
** the minimum SF value&lt;br /&gt;
** the average SF value&lt;br /&gt;
** the maximum SF value&lt;br /&gt;
** the median SF value&lt;br /&gt;
** or the inverse variance&lt;br /&gt;
* &#039;&#039;&#039;since version 2.6.2 the user can choose the &#039;active layer&#039; that will be projected. The default layer is &#039;height grid values&#039; (i.e. the coordinate of the points along the projection dimension) but it can now be any scalar field associated to the selected cloud, the hillshade layer, etc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once the base parameters are properly set, the user must click on the &#039;Update grid&#039; button to make CloudCompare actually compute the grid and display it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Each time a parameter is modified, the &#039;Update grid&#039; button will appear in red. The user has to click on it to actually apply the changes.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Advanced parameters ==&lt;br /&gt;
&lt;br /&gt;
=== Empty cells ===&lt;br /&gt;
&lt;br /&gt;
If no point falls inside a given cell, this cell will be considered as &#039;empty&#039;. By default empty cells are not visible when displayed in the tool&#039;s 3D view. They generally have a dedicated &#039;NaN&#039; or &#039;empty&#039; value when exported to a raster file (depending on the format).&lt;br /&gt;
&lt;br /&gt;
It is possible to fill these cells in various ways:&lt;br /&gt;
* use the minimum height of the whole grid&lt;br /&gt;
* use the average height of the whole grid&lt;br /&gt;
* use the maximum height of the whole grid&lt;br /&gt;
* use a user specified value (should be input in the field below the &#039;Fill with&#039; drop-down list)&lt;br /&gt;
* interpolate (see below)&lt;br /&gt;
&lt;br /&gt;
=== Interpolating empty cells ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Interpolate&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &#039;interpolate&#039; option consists in a linear interpolation with the nearest non-empty neighboring cells. It relies on Delaunay triangulation.&lt;br /&gt;
&lt;br /&gt;
This can give very good results in the presence of small holes. However it can be less realistic on large holes. &#039;&#039;&#039;The biggest limitation is that it&#039;s limited to the convex hull of the non-empty cells&#039;&#039;&#039;. Therefore a custom/default value must still be specified in the field below the &#039;Fill with&#039; drop-down list to fill the remaining empty areas (if any).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_interpolation_small.jpg|frame|center|Interpolation principle]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Kriging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is now possible to use a Kriging algorithm to fill the empty cells. While this option may take more time to compute, it allows to interpolate cells all over the raster grid and not only inside the non-empty cells convex hull.&lt;br /&gt;
&lt;br /&gt;
[[Image:Rasterize_kriging.JPG|frame|center|Kriging interpolation option]]&lt;br /&gt;
&lt;br /&gt;
=== Grid position ===&lt;br /&gt;
&lt;br /&gt;
The grid position (in the projection plane) can be finely defined by clicking on the &#039;Edit grid&#039; button:&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_bb_edit_dialog.jpg|frame|center|Grid extents setup dialog]]&lt;br /&gt;
&lt;br /&gt;
Warning: the Rasterize tool grid uses the &#039;[https://www.usna.edu/Users/oceano/pguth/md_help/html/PixelIsWhat.html pixel-is-area]&#039; convention but the grid itself is centered on the boundary pixel centers. The grid min corner coordinates correspond to the lower left raster cell &#039;&#039;&#039;center&#039;&#039;&#039;, and the grid max corner coordinates correspond to the upper right raster cell &#039;&#039;&#039;center&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:Raster_grid.jpg|frame|center|Raster grid]]&lt;br /&gt;
&lt;br /&gt;
=== Interpolate scalar fields ===&lt;br /&gt;
&lt;br /&gt;
If the input cloud has one or several scalar fields, it is possible to &#039;interpolate&#039; the scalar field values in each grid cell.&lt;br /&gt;
&lt;br /&gt;
To do this the user has to check the &#039;interpolate SF(s)&#039; checkbox and define how this interpolation should be conducted:&lt;br /&gt;
* by keeping the minimum SF value of all the points falling in this cell&lt;br /&gt;
* by keeping the average SF value of all the points falling in this cell&lt;br /&gt;
* by keeping the maximum SF value of all the points falling in this cell&lt;br /&gt;
* since version 2.13:&lt;br /&gt;
** median value&lt;br /&gt;
** inverse variance&lt;br /&gt;
&lt;br /&gt;
Note: interpolated scalar fields can only be used when exporting the raster grid as a new cloud or as a raster file in a formats that supports real-valued layers.&lt;br /&gt;
&lt;br /&gt;
=== Resample input cloud ===&lt;br /&gt;
&lt;br /&gt;
This option tells CloudCompare to keep in each grid cell the point from the input cloud which is the closest to the cell center (instead of the cell center itself). This way it is possible to subsample the cloud in a semi-gridded pattern. If the grid is to be exported as a cloud, all the input cloud features (colors, normals, etc.) can be properly exported as well.&lt;br /&gt;
&lt;br /&gt;
Since version 2.7 the resample option can now be used with the &#039;average height&#039; projection. In this case only the 2D coordinates of the original point are kept (&#039;&#039;the point which is the closest to the cell center&#039;&#039;) and the height is replaced by the average cell height.&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
&lt;br /&gt;
The (raster) grid can be exported to several destinations.&lt;br /&gt;
&lt;br /&gt;
=== Cloud ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a new cloud (&#039;&#039;see the &amp;quot;Cloud&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
The grid is always exported as a 3D cloud (with the chosen &#039;height&#039; as the &#039;Z&#039; dimension). A &#039;height&#039; scalar field is also generated by default.&lt;br /&gt;
&lt;br /&gt;
Several additional scalar fields can be generated:&lt;br /&gt;
* &#039;population&#039;: number of input points falling in each cell&lt;br /&gt;
* &#039;min&#039;: minimum height of the points falling in each cell&lt;br /&gt;
* &#039;average&#039;: average height of the points falling in each cell (&#039;&#039;may be redundant with the default &#039;height&#039; scalar field&#039;&#039;)&lt;br /&gt;
* &#039;max&#039;: maximum height of the points falling in each cell (&#039;&#039;may be redundant with the default &#039;height&#039; scalar field&#039;&#039;)&lt;br /&gt;
* &#039;std. dev.&#039;: standard deviation of the height values of the points falling in each cell&lt;br /&gt;
* &#039;range&#039;: range of the height values of the points falling in each cell&lt;br /&gt;
* Since version 2.13:&lt;br /&gt;
** &#039;unique val.&#039;: the number of uniques values inside each cell&lt;br /&gt;
** &#039;median&#039;: median value&lt;br /&gt;
** &#039;percentile&#039; + percentage: highest value of the given percentage of points (sorted)&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, it is now also possible to choose whether the above statistics should be applied to &#039;height&#039; values, all the &#039;scalar fields&#039; or both (with checkboxes).&lt;br /&gt;
&lt;br /&gt;
=== Raster ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a geotiff raster file (&#039;&#039;see the &amp;quot;Raster (geotiff)&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
Note: CloudCompare relies on [http://en.wikipedia.org/wiki/GDAL GDAL] for this operation.&lt;br /&gt;
&lt;br /&gt;
=== Image ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a simple image file. Use the &#039;Image&#039; button (&#039;&#039;see the &amp;quot;Image&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=== ASCII matrix ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as an array/matrix of height values saved as an ASCII file (&#039;&#039;see the &amp;quot;Matrix (text file)&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
This file should be easily imported in Excel for Matlab for instance. There&#039;s no file header. The number of rows is simply the number of lines in the file, and the number of columns corresponds to the number of values found on each line (should always be the same).&lt;br /&gt;
&lt;br /&gt;
=== Mesh ===&lt;br /&gt;
&lt;br /&gt;
The grid can be exported as a 2.5D mesh (&#039;&#039;see the &amp;quot;Mesh&amp;quot; button in the &#039;Export&#039; tab in the bottom-left corner&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Contour plot generation ==&lt;br /&gt;
&lt;br /&gt;
Since version 2.6.1, the Rasterize tool can now be used to generate contour plots.&lt;br /&gt;
&lt;br /&gt;
The parameters for this sub-tool are all regrouped in the &#039;Contour plot&#039; tab in the bottom-left part:&lt;br /&gt;
[[Image:Cc_rasterize_contour_plot_params.jpg|frame|center|Contour plot generation parameters (version 2.6.2)]]&lt;br /&gt;
&lt;br /&gt;
The user must specify:&lt;br /&gt;
* Start height: height of the first contour line&lt;br /&gt;
* Step: step between each contour line&lt;br /&gt;
* Min. vertex: minimum number of vertices per lines (used to remove the very small contours around trees, etc.)&lt;br /&gt;
* ignore borders: to remove the contour lines created on the grid (square) edges&lt;br /&gt;
&lt;br /&gt;
The first time, and each time the parameters are changed or the grid is updated, the user must click on the &#039;Generate&#039; button to generate the contour plot. Then a preview of the generated contour lines will be displayed over the raster grid:&lt;br /&gt;
[[Image:Cc_rasterize_contour_plot_preview.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
The user can pan and zoom the 3D view to view it better. The point size can also be modified in the standard way (+/- interactors appear when the mouse hovers the top-left part of the 3D view).&lt;br /&gt;
&lt;br /&gt;
The resulting contour lines can be removed (with the &#039;Clear&#039; button) or exported as real polylines in the DB tree (with the &#039;Generate&#039; button). All contour lines are exported in a single group (automatically named after the input cloud name and the &#039;Step&#039; value).&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_rasterize_contour_plot_exported.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the (group of) contour lines can be exported as a Shape file (to be imported in a GIS software for instance).&lt;br /&gt;
* if the user has forgotten to export the contour lines when closing the tool, CloudCompare will issue a warning message and will ask for confirmation.&lt;br /&gt;
&lt;br /&gt;
=== Since version 2.6.2 ===&lt;br /&gt;
&lt;br /&gt;
* the &#039;active layer&#039; is used to compute the contour lines (&#039;&#039;&#039;this way contour lines can be computed on any scalar field&#039;&#039;&#039;)&lt;br /&gt;
* the default width of contour lines can be set prior to generating them&lt;br /&gt;
* the contour lines can be colored based on their height (with the active layer color ramp) - use the &#039;colorize&#039; check box&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_colored_contour_lines.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
== Hillshade ==&lt;br /&gt;
&lt;br /&gt;
Since version 2.6.3, the Rasterize tool can generate an hillshade layer:&lt;br /&gt;
[[Image:Cc_rasterize_hillshade.jpg|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Once the grid has been generated:&lt;br /&gt;
* click on the &#039;Hillshade&#039; tab&lt;br /&gt;
* set the right parameters (sun position)&lt;br /&gt;
* click on generate&lt;br /&gt;
&lt;br /&gt;
Note that this layer will disappear each time the &#039;Update grid&#039; button is clicked&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47502</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47502"/>
		<updated>2024-11-17T10:23:38Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.14.alpha) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* ortho_dim = X --&amp;gt; YZ&lt;br /&gt;
* ortho_dim = Y --&amp;gt; ZX&lt;br /&gt;
* ortho_dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Since version 2.14:&lt;br /&gt;
* ortho_dim = Xflip --&amp;gt; ZY&lt;br /&gt;
* ortho_dim = Yflip --&amp;gt; XZ&lt;br /&gt;
* ortho_dim = Zflip --&amp;gt; YX&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47501</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47501"/>
		<updated>2024-11-17T09:53:38Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.14.alpha) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {-GLOBAL_SHIFT + options} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.14, it is possible to set a Global Shift when importing the 2D vertices. It uses the same syntax as the -O option (see the -O -GLOBAL_SHIFT option).&lt;br /&gt;
&lt;br /&gt;
Warning, after setting the dimension, CloudCompare will expect the 2D vertices in the following order:&lt;br /&gt;
* Dim = X --&amp;gt; YZ&lt;br /&gt;
* Dim = Y --&amp;gt; ZX&lt;br /&gt;
* Dim = Z --&amp;gt; XY&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47464</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47464"/>
		<updated>2024-08-31T17:20:09Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.14.alpha) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCD_OUTPUT_FORMAT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the default PCD file output format.&#039;&#039;&lt;br /&gt;
Format can be:&lt;br /&gt;
* COMPRESSED_BINARY&lt;br /&gt;
* BINARY&lt;br /&gt;
* ASCII&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.14 only&lt;br /&gt;
* when using the binary and ASCII formats, the output filename may be scrambled if non standard characters are present.&lt;br /&gt;
* this option must be placed before any PCD file is saved&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=ICP&amp;diff=47463</id>
		<title>ICP</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=ICP&amp;diff=47463"/>
		<updated>2024-08-10T20:21:48Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Menu / Icon ==&lt;br /&gt;
&lt;br /&gt;
This tool is accessible via the [[File:CCRegisterIcon.png‎]] icon in the main upper toolbar or via the &#039;Tool &amp;gt; Fine Registration (ICP)&#039; menu.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This tool can automatically finely registers two entities (clouds and/or meshes).&lt;br /&gt;
&lt;br /&gt;
Main assumptions are:&lt;br /&gt;
* both entities are already roughly registered (see the other [[Alignment and Registration | alignment methods]])&lt;br /&gt;
* both entities should represent the same object or at least have the same shape (at least on their overlapping parts)&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select the two entities (clouds and/or meshes) that you want to register and start this tool.&lt;br /&gt;
&lt;br /&gt;
We use the original ICP algorithm denominations here: first you have to choose which entity will be the &#039;Data&#039; one (&#039;&#039;Registered&#039;&#039;, will eventually move) and which one will be the &#039;Model&#039; one (&#039;&#039;Reference&#039;&#039;, won&#039;t move). You can the default role assignation by clicking on the &#039;swap&#039; button. You&#039;ll see in the 3D view that the two entities colors are forced to yellow and red so as to correspond to the &#039;Model&#039; (yellow) and &#039;Data&#039; (red) colors.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_icp_registration_dialog.jpg|frame|center|Fine registration (ICP) dialog]]&lt;br /&gt;
&lt;br /&gt;
=== Main parameters ===&lt;br /&gt;
&lt;br /&gt;
Here are the most important parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Number of iterations&#039;&#039;&#039;/&#039;&#039;&#039;RMS difference&#039;&#039;&#039;: ICP is an iterative process. During this process, the registration error (slowly) decrease. We can tell CC to stop this process either after a maximum number of iterations, or as soon as the error (RMS) difference between two iterations becomes lower than a given threshold. The smaller this threshold is, the longer it will take to converge, but the finer the result should be (&#039;&#039;note: as CC work with 32 bits floating point values, a 1e-8 threshold is already near the computation accuracy limit and it shouldn&#039;t be necessary to go any lower&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Final overlap&#039;&#039;&#039;: this is a new parameter for the version 2.6.1. It lets the user specify the actual portion of the data/registered cloud that would actually overlap the model/reference cloud if both clouds were registered. This let the user register entities with only a partial overlap (down to 10% or even less).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Adjust scale&#039;&#039;&#039;: the modified-ICP algorithm we use is able to determine a potential difference in scaling. If your clouds have different scales (e.g. photogrammetry clouds) you can check this option so as to resolve the scaling as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Advanced parameters ===&lt;br /&gt;
&lt;br /&gt;
You can optionally set additional &#039;&#039;research&#039;&#039; parameters (some of which are not yet validated, so that if you change them you might get unexpected results):&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Random sampling limit&#039;&#039;&#039;: to drastically increase computation speed on big clouds, we use an optimization scheme. It consists in randomly sub-sampling the &#039;&#039;data&#039;&#039; cloud at each iteration. This parameter is the maximum number of sub-sampled points. The default value (50000) is generally a good guess and its incidence on the result is not perceivable. However it may be insufficient for very large clouds. So if you doubt about the results, or if you want to refine the registration even more and you are not afraid of waiting a long time, don&#039;t hesitate to increase this value (to fully deactivate this optimization scheme, simply input a number greater than the &#039;&#039;data&#039;&#039; cloud size).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Rotation&#039;&#039;&#039;: you can constrain the rotation around a given axis (X, Y or Z)&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Translation&#039;&#039;&#039;: you can constrain the translation along none, one or several dimensions (among X, Y and Z)&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Enable farthest point removal&#039;&#039;&#039;: this option is very interesting if the shapes of the two entities you are trying to register are quite different (either because the entities don&#039;t represent exactly the same object, or simply because the noise on one entity is too high). This tells CC to remove at each iteration the points of the &#039;data&#039; cloud that are too far from the &#039;model&#039; cloud.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Use displayed model/data scalar field as weights&#039;&#039;&#039;: this option should enable the user to use scalar values as weights (either on the data or the model cloud - it is not advised to use weights on both clouds at the same time)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Cc_registration_result.jpg|frame|center|Fine registration (ICP) result]]&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
The main articles describing the ICP algorithm and its particular implementation in CloudCompare are:&lt;br /&gt;
* Besl&#039;s original article: Paul J. Besl and N.D. McKay, « A Method for Registration of 3-D Shapes », IEEE Trans. on Pattern Analysis and Machine Intelligence, 1992 (DOI 10.1109/34.121791)&lt;br /&gt;
* various improvements to the base algorithm: [https://www.cs.princeton.edu/~smr/papers/fasticp/fasticp_paper.pdf], the main one being the random subsampling of the to-be-aligned cloud (Masuda, T., Sakaue, K., and Yokoya, N. “Registration and Integration of Multiple Range Images for 3-D Model Construction,” Proc. CVPR, 1996)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Compass_(plugin)&amp;diff=47462</id>
		<title>Compass (plugin)</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Compass_(plugin)&amp;diff=47462"/>
		<updated>2024-07-24T15:12:38Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
Compass is a structural geology toolbox for the interpretation and analysis of virtual outcrop models. It combines a flexible data structure for organising geological interpretation with a series of tools for intuitive and computer-assisted digitisation and measurement. Broadly, the tool comprises two modes: Map Mode, for delineating geological units, and Compass Mode for measuring orientations and thicknesses. The combination of these two modes roughly correspond to the functionality of a good field geologist (armed with a trusty compass and notebook), but require less beer and sunscreen. They are described in detail below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Compass2_gui.png ‎|frame|center|Compass GUI showing the available modes, customizable cost functions and option for data export.]]&lt;br /&gt;
&lt;br /&gt;
= Compass mode: Extracting structural measurements =&lt;br /&gt;
&lt;br /&gt;
The compass mode, activated by clicking the &amp;quot;compass&amp;quot; icon in the main dialog, contains three tools for measuring orientations: the Plane Tool, Trace Tool and Lineation Tool. A self-explanatory Picking Tool is also included for convenience.&lt;br /&gt;
&lt;br /&gt;
== Plane tool: Measure surface orientations ==&lt;br /&gt;
&lt;br /&gt;
The plane tool is used to measure the orientations of fully exposed planar structures, such as joint or bedding surfaces. When it is activated, a red circle is shown in the 3D window. On picking a point in the virtual outcrop model (left-click), a plane is fitted to all points sitting within the circle (using least squares), giving an orientation estimate (dip/dip direction). The circle radius can be changed with ctrl-scroll wheel. Note that for this to work correctly, Cloud Compare needs to be using orthographic projection (&#039;&#039;Display-&amp;gt;Toggle Centred Perspective&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Trace tool: Digitise and measure traces and contacts ==&lt;br /&gt;
&lt;br /&gt;
The trace tool allows the estimation of a structure or contact&#039;s orientation based on its intersection with a non-flat surface. It uses a least-cost path algorithm to &#039;follow&#039; these intersection traces along the surface between user defined start and end points, and then calculates the best fit plane to estimate the orientation. To use, select the tool and then left click the start and end of the structure you would like to digitise/measure. The tool will then try to find a fracture trace that links these points. Generally this works remarkably well, though, intermediate &#039;waypoints&#039; can be added (also using left click) to modify the trace. To finish a segment click &#039;&#039;&#039;Accept&#039;&#039;&#039; (green tick) or press the Space Key. To cancel a segment, click &#039;&#039;&#039;Close&#039;&#039;&#039; or press the &#039;&#039;&#039;Escape&#039;&#039;&#039; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: ccCompass_method.png||frame|center|Schematic showing the least-cost path approach to trace detection in a point cloud implemented in the Compass plugin.]]&lt;br /&gt;
&lt;br /&gt;
The results of this tool depend on the cost function used by the least-cost path algorithm. A variety of these have been implemented, and can be activated by clicking the &#039;&#039;algorithm dropdown&#039;&#039; (settings icon). The different cost functions that have been implemented are:&lt;br /&gt;
*&#039;&#039;Darkness [default]&#039;&#039; - traces follow dark points in the cloud. This is &#039;&#039;&#039;good for fracture traces defined by shadow&#039;&#039;&#039;.&lt;br /&gt;
*&#039;&#039;Lightness&#039;&#039; - traces follow light points in the cloud. This is &#039;&#039;&#039;good for light-coloured structures such as veins&#039;&#039;&#039;.&lt;br /&gt;
*&#039;&#039;RGB&#039;&#039; - traces avoid colour contrasts, following points with a similar colour to the start and end points.&lt;br /&gt;
*&#039;&#039;Curvature&#039;&#039; - traces follow points on ridges and valleys. This can be good for fracture traces with high relief but can be slow and sensitive to noise.&lt;br /&gt;
*&#039;&#039;Gradient&#039;&#039; - traces follow colour boundaries. &#039;&#039;&#039;Excellent for tracing contacts between lithologies&#039;&#039;&#039; with different colour.&lt;br /&gt;
*&#039;&#039;Distance&#039;&#039; - traces take the shortest path. I&#039;m not sure what this is good for.&lt;br /&gt;
*&#039;&#039;Scalar Field&#039;&#039; - traces follow low values in the active (displayed) scalar field. Use this to implement custom cost functions.&lt;br /&gt;
*&#039;&#039;Inverse Scalar Field&#039;&#039; - traces follow high values in the active (displayed) scalar field. Use this to implement custom cost functions.&lt;br /&gt;
&lt;br /&gt;
When using this tool it is important to note that its performance (i.e. speed) scales with trace length. Hence, it can be used with large point clouds if trace lengths are kept small (though long traces can be quickly digitised as multiple segments). Asking the tool to find long traces may result in system crashes.&lt;br /&gt;
&lt;br /&gt;
A plane is fitted to each trace (using least squares) when it is finalized (&#039;&#039;green tick&#039;&#039; or &#039;&#039;space key&#039;&#039;), providing an estimate of the structure orientation. Unfortunately, in some situations the best-fit plane does not provide a robust estimate of structure orientation, particularly in low relief. To help avoid these issues, planes deriving from traces which are co-linear or within 10° of the average surface orientation along the trace (if point normals have been calculated). Further details on the automatic vetting process can be found at [http://www.sciencedirect.com/science/article/pii/S0191814115001054 [1]]. &lt;br /&gt;
&lt;br /&gt;
Automatic plane fitting can be enabled/disabled (it is disabled by default) in the &#039;&#039;algorithm&#039;&#039; menu (settings icon) or holding the shift key when accepting the trace. Plane orientations are expressed using the dip/dip direction convention.&lt;br /&gt;
&lt;br /&gt;
== Lineation tool: Measure lineations ==&lt;br /&gt;
&lt;br /&gt;
This tool measures the trend and plunge of a (straight) line between two points. &#039;&#039;Left-click&#039;&#039; selects points (as above).&lt;br /&gt;
&lt;br /&gt;
= Map mode =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Map Mode&#039;&#039; provides functionality for storing and organising interpretations in larger projects, where many different geological features need to be recorded. On entering &#039;&#039;Map Mode&#039;&#039; (map icon), a second dialog contains functionality for creating and managing &#039;&#039;GeoObjects&#039;&#039; appears. &#039;&#039;GeoObjects&#039;&#039; are a data structure for organising and describing geological features in a flexible way, and are comprised of an &#039;&#039;Interior&#039;&#039;, &#039;&#039;Upper Boundary&#039;&#039; and &#039;&#039;Lower Boundary&#039;&#039;. Hence, measurements from a dyke for example, can be assigned such that they are representative of either contact (somewhat arbitrarily called upper and lower) or the interior. The GeoObject dialog contains functionality for creating GeoObjects and defining their active part (&#039;&#039;upper&#039;&#039;, &#039;&#039;lower&#039;&#039; or &#039;&#039;interior&#039;&#039;), to which any new measurements get assigned.&lt;br /&gt;
&lt;br /&gt;
When &#039;&#039;Map Mode&#039;&#039; is active, the &#039;&#039;Compass&#039;&#039; functionality described above remains as described above with a few subtle difference. As already mentioned, new measurements are stored in the active GeoObject rather than in a &#039;&#039;Measurements&#039;&#039; folder. Furthermore, traces defined using the Trace tool are also kept visible in this mode (rather than converted to planes), so the Trace tool can be used to digitise contacts.&lt;br /&gt;
&lt;br /&gt;
= Other tools =&lt;br /&gt;
&lt;br /&gt;
The Other Tools dropdown (&#039;&#039;Plus&#039;&#039; icon) contains additional functionality, and includes tools for measuring true thicknesses, recording notes and exporting interpretation for 2D visualisation. These &#039;&#039;Other Tools&#039;&#039; are summarised in the order they appear below.&lt;br /&gt;
&lt;br /&gt;
== Add pinch node ==&lt;br /&gt;
&lt;br /&gt;
Pinch nodes are used to record locations were the upper and lower surfaces of a GeoObject meet, such as at dyke tips or were sedimentary layers pinch-out. Pinch nodes are simply represented by a single point, but in being assigned to a GeoObject can record important information.&lt;br /&gt;
&lt;br /&gt;
== Measure one-point/two-point thickness ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Measure One-Point Thickness&#039;&#039; and &#039;&#039;Measure Two-Point Thickness&#039;&#039; tools can be used to measure the true-thickness of geological units by selecting a plane representing the orientation of a unit and one or two points on its boundary. &#039;&#039;Measure One-Point Thickness&#039;&#039; will measure the plane-perpendicular distance between the selected plane and each successively chosen points (use this if the fit-plane represents one of the contacts). &#039;&#039;Measure Two-Point Thickness&#039;&#039; measures the plane-perpendicular distance between pairs of successively chosen points (used when the fit-plane doesn&#039;t fall on one of the contacts).&lt;br /&gt;
&lt;br /&gt;
== Add note ==&lt;br /&gt;
&lt;br /&gt;
Quick and dirty way of taking notes. Will add a new object to the picked location that displays the object name (this will be the contents of the note).&lt;br /&gt;
&lt;br /&gt;
== Fit plane to GeoObject ==&lt;br /&gt;
&lt;br /&gt;
On some occasions, a GeoObject comprised of multiple different trace objects will define a well-constrained plane. As the trace-tool only allows plane-fitting to an individual trace, the &#039;&#039;Fit Plane to GeoObject&#039;&#039; tool will calculate a fit plane for all traces defining the upper and lower surfaces of a GeoObject. Use with care, as this can often produce spurious results.&lt;br /&gt;
&lt;br /&gt;
== Merge selected GeoObjects ==&lt;br /&gt;
&lt;br /&gt;
Merges all of the GeoObjects selected in the DB Tree into the currently active (most recently selected) GeoObject.&lt;br /&gt;
&lt;br /&gt;
== Estimate structure normals == &lt;br /&gt;
&lt;br /&gt;
Uses a bayesian plane-fitting method and moving window search algorithm to identify optimum best-fit planes for each point along the selected structure trace and hence estimate structure normals. If one (or more) GeoObjects are selected SNEs will be created for all traces within each object. If objects have upper and lower surfaces defined then true-thicknesses corresponding to each orientation can also be estimated. Results are stored on a &amp;quot;SNE&amp;quot; point cloud, including thickness, dip and dip direction scalar fields. Details of the different options that can be used for this tool are shown in the figure below. Note that fit-planes are not allowed to include pinch-nodes, meaning these can be used to separate different sections of a structure (e.g. a segmented dyke).&lt;br /&gt;
&lt;br /&gt;
[[File:sne_gui.png ‎|frame|center|Screenshot of the SNE estimation dialog and associated explanation of each option.]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When using this algorithm it is critical to carefully filter the results, as geometric quirks will often lead to wildly inaccurate results&#039;&#039;&#039;. The &amp;quot;segment&amp;quot; tool (scissors) can be used to delete unwanted SNEs as with any other point cloud. SNEs are also compatible with the stereonet tool in the qFacets plugin, which can aid in filtering erroneous results.&lt;br /&gt;
&lt;br /&gt;
== Export SVG ==&lt;br /&gt;
&lt;br /&gt;
Exports trace objects to a .svg file for &amp;quot;beautification&amp;quot; in vector-graphics packages such as Inkscape or Adobe Illustrator. Traces will projected into 2D using the current view-direction and camera settings, so should appear as viewed on the screen. Other objects (e.g. point clouds) can be included by rendering an image with standard CloudCompare functionality (&#039;&#039;Display-&amp;gt;Render to File&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
= Saving and exporting measurements =&lt;br /&gt;
&lt;br /&gt;
Interpretation generated using this tool is represented internally by Cloud Compare as planes and polygons, and so can be natively stored in CC&#039;s .bin files. For ease of use, a save tool has also been included. This tool exports plane and trace data to .csv files, from which data can be easily imported into other software packages for further analysis. Polylines created by the Trace and Lineation tools can also be exported as shapefiles through the normal Save dialog in Cloud Compare. To avoid confusion regarding different strike/dip conventions (British vs American RHR), we suggest using the exported dip and dip-direction values instead, or at least treating the strike values with care. &lt;br /&gt;
&lt;br /&gt;
= Further reading and citation =&lt;br /&gt;
&lt;br /&gt;
If you found this tool useful, please cite &#039;&#039;Thiele et al., 2017&#039;&#039;. The publication also contains a more detailed description of the methods employed by this plugin.&lt;br /&gt;
&lt;br /&gt;
[1] &#039;&#039;Thiele, S. T., Grose, L., Samsu, A., Micklethwaite, S., Vollgger, S. A., and Cruden, A. R.: Rapid, semi-automatic fracture and contact mapping for point clouds, images and geophysical data, Solid Earth, https://doi.org/10.5194/se-8-1241-2017, 2017&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Further information on the automatic vetting process for structural orientation estimates can be found in:&lt;br /&gt;
&lt;br /&gt;
[2] &#039;&#039;Thiele, ST., Micklethwaite, S., Bourke, P., Verrall, M., Kovesi, P., 2015, Insights into the mechanics of en-échelon sigmoidal vein formation using ultra-high resolution photogrammetry and computed tomography, Journal of Structural Geology, Volume 77, Pages 27-44, ISSN 0191-8141, http://dx.doi.org/10.1016/j.jsg.2015.05.006.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A detailed description of the SNE algorithm is currently being prepared (Nov 2018). A preprint version can be found here: https://www.researchgate.net/publication/329529172_Extraction_of_high-resolution_structural_orientations_from_digital_data_A_Bayesian_approach&lt;br /&gt;
&lt;br /&gt;
= About the author =&lt;br /&gt;
&lt;br /&gt;
Sam Thiele (see his website: [https://www.samthiele.science https://www.samthiele.science])&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Compass_(plugin)&amp;diff=47461</id>
		<title>Compass (plugin)</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Compass_(plugin)&amp;diff=47461"/>
		<updated>2024-07-24T15:12:09Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
Compass is a structural geology toolbox for the interpretation and analysis of virtual outcrop models. It combines a flexible data structure for organising geological interpretation with a series of tools for intuitive and computer-assisted digitisation and measurement. Broadly, the tool comprises two modes: Map Mode, for delineating geological units, and Compass Mode for measuring orientations and thicknesses. The combination of these two modes roughly correspond to the functionality of a good field geologist (armed with a trusty compass and notebook), but require less beer and sunscreen. They are described in detail below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Compass2_gui.png ‎|frame|center|Compass GUI showing the available modes, customizable cost functions and option for data export.]]&lt;br /&gt;
&lt;br /&gt;
= Compass mode: Extracting structural measurements =&lt;br /&gt;
&lt;br /&gt;
The compass mode, activated by clicking the &amp;quot;compass&amp;quot; icon in the main dialog, contains three tools for measuring orientations: the Plane Tool, Trace Tool and Lineation Tool. A self-explanatory Picking Tool is also included for convenience.&lt;br /&gt;
&lt;br /&gt;
== Plane tool: Measure surface orientations ==&lt;br /&gt;
&lt;br /&gt;
The plane tool is used to measure the orientations of fully exposed planar structures, such as joint or bedding surfaces. When it is activated, a red circle is shown in the 3D window. On picking a point in the virtual outcrop model (left-click), a plane is fitted to all points sitting within the circle (using least squares), giving an orientation estimate (dip/dip direction). The circle radius can be changed with ctrl-scroll wheel. Note that for this to work correctly, Cloud Compare needs to be using orthographic projection (&#039;&#039;Display-&amp;gt;Toggle Centred Perspective&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Trace tool: Digitise and measure traces and contacts ==&lt;br /&gt;
&lt;br /&gt;
The trace tool allows the estimation of a structure or contact&#039;s orientation based on its intersection with a non-flat surface. It uses a least-cost path algorithm to &#039;follow&#039; these intersection traces along the surface between user defined start and end points, and then calculates the best fit plane to estimate the orientation. To use, select the tool and then left click the start and end of the structure you would like to digitise/measure. The tool will then try to find a fracture trace that links these points. Generally this works remarkably well, though, intermediate &#039;waypoints&#039; can be added (also using left click) to modify the trace. To finish a segment click &#039;&#039;&#039;Accept&#039;&#039;&#039; (green tick) or press the Space Key. To cancel a segment, click &#039;&#039;&#039;Close&#039;&#039;&#039; or press the &#039;&#039;&#039;Escape&#039;&#039;&#039; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: ccCompass_method.png||frame|center|Schematic showing the least-cost path approach to trace detection in a point cloud implemented in the Compass plugin.]]&lt;br /&gt;
&lt;br /&gt;
The results of this tool depend on the cost function used by the least-cost path algorithm. A variety of these have been implemented, and can be activated by clicking the &#039;&#039;algorithm dropdown&#039;&#039; (settings icon). The different cost functions that have been implemented are:&lt;br /&gt;
*&#039;&#039;Darkness [default]&#039;&#039; - traces follow dark points in the cloud. This is &#039;&#039;&#039;good for fracture traces defined by shadow&#039;&#039;&#039;.&lt;br /&gt;
*&#039;&#039;Lightness&#039;&#039; - traces follow light points in the cloud. This is &#039;&#039;&#039;good for light-coloured structures such as veins&#039;&#039;&#039;.&lt;br /&gt;
*&#039;&#039;RGB&#039;&#039; - traces avoid colour contrasts, following points with a similar colour to the start and end points.&lt;br /&gt;
*&#039;&#039;Curvature&#039;&#039; - traces follow points on ridges and valleys. This can be good for fracture traces with high relief but can be slow and sensitive to noise.&lt;br /&gt;
*&#039;&#039;Gradient&#039;&#039; - traces follow colour boundaries. &#039;&#039;&#039;Excellent for tracing contacts between lithologies&#039;&#039;&#039; with different colour.&lt;br /&gt;
*&#039;&#039;Distance&#039;&#039; - traces take the shortest path. I&#039;m not sure what this is good for.&lt;br /&gt;
*&#039;&#039;Scalar Field&#039;&#039; - traces follow low values in the active (displayed) scalar field. Use this to implement custom cost functions.&lt;br /&gt;
*&#039;&#039;Inverse Scalar Field&#039;&#039; - traces follow high values in the active (displayed) scalar field. Use this to implement custom cost functions.&lt;br /&gt;
&lt;br /&gt;
When using this tool it is important to note that its performance (i.e. speed) scales with trace length. Hence, it can be used with large point clouds if trace lengths are kept small (though long traces can be quickly digitised as multiple segments). Asking the tool to find long traces may result in system crashes.&lt;br /&gt;
&lt;br /&gt;
A plane is fitted to each trace (using least squares) when it is finalized (&#039;&#039;green tick&#039;&#039; or &#039;&#039;space key&#039;&#039;), providing an estimate of the structure orientation. Unfortunately, in some situations the best-fit plane does not provide a robust estimate of structure orientation, particularly in low relief. To help avoid these issues, planes deriving from traces which are co-linear or within 10° of the average surface orientation along the trace (if point normals have been calculated). Further details on the automatic vetting process can be found at [http://www.sciencedirect.com/science/article/pii/S0191814115001054 [1]]. &lt;br /&gt;
&lt;br /&gt;
Automatic plane fitting can be enabled/disabled (it is disabled by default) in the &#039;&#039;algorithm&#039;&#039; menu (settings icon) or holding the shift key when accepting the trace. Plane orientations are expressed using the dip/dip direction convention.&lt;br /&gt;
&lt;br /&gt;
== Lineation tool: Measure lineations ==&lt;br /&gt;
&lt;br /&gt;
This tool measures the trend and plunge of a (straight) line between two points. &#039;&#039;Left-click&#039;&#039; selects points (as above).&lt;br /&gt;
&lt;br /&gt;
= Map mode =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Map Mode&#039;&#039; provides functionality for storing and organising interpretations in larger projects, where many different geological features need to be recorded. On entering &#039;&#039;Map Mode&#039;&#039; (map icon), a second dialog contains functionality for creating and managing &#039;&#039;GeoObjects&#039;&#039; appears. &#039;&#039;GeoObjects&#039;&#039; are a data structure for organising and describing geological features in a flexible way, and are comprised of an &#039;&#039;Interior&#039;&#039;, &#039;&#039;Upper Boundary&#039;&#039; and &#039;&#039;Lower Boundary&#039;&#039;. Hence, measurements from a dyke for example, can be assigned such that they are representative of either contact (somewhat arbitrarily called upper and lower) or the interior. The GeoObject dialog contains functionality for creating GeoObjects and defining their active part (&#039;&#039;upper&#039;&#039;, &#039;&#039;lower&#039;&#039; or &#039;&#039;interior&#039;&#039;), to which any new measurements get assigned.&lt;br /&gt;
&lt;br /&gt;
When &#039;&#039;Map Mode&#039;&#039; is active, the &#039;&#039;Compass&#039;&#039; functionality described above remains as described above with a few subtle difference. As already mentioned, new measurements are stored in the active GeoObject rather than in a &#039;&#039;Measurements&#039;&#039; folder. Furthermore, traces defined using the Trace tool are also kept visible in this mode (rather than converted to planes), so the Trace tool can be used to digitise contacts.&lt;br /&gt;
&lt;br /&gt;
= Other tools =&lt;br /&gt;
&lt;br /&gt;
The Other Tools dropdown (&#039;&#039;Plus&#039;&#039; icon) contains additional functionality, and includes tools for measuring true thicknesses, recording notes and exporting interpretation for 2D visualisation. These &#039;&#039;Other Tools&#039;&#039; are summarised in the order they appear below.&lt;br /&gt;
&lt;br /&gt;
== Add pinch node ==&lt;br /&gt;
&lt;br /&gt;
Pinch nodes are used to record locations were the upper and lower surfaces of a GeoObject meet, such as at dyke tips or were sedimentary layers pinch-out. Pinch nodes are simply represented by a single point, but in being assigned to a GeoObject can record important information.&lt;br /&gt;
&lt;br /&gt;
== Measure one-point/two-point thickness ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Measure One-Point Thickness&#039;&#039; and &#039;&#039;Measure Two-Point Thickness&#039;&#039; tools can be used to measure the true-thickness of geological units by selecting a plane representing the orientation of a unit and one or two points on its boundary. &#039;&#039;Measure One-Point Thickness&#039;&#039; will measure the plane-perpendicular distance between the selected plane and each successively chosen points (use this if the fit-plane represents one of the contacts). &#039;&#039;Measure Two-Point Thickness&#039;&#039; measures the plane-perpendicular distance between pairs of successively chosen points (used when the fit-plane doesn&#039;t fall on one of the contacts).&lt;br /&gt;
&lt;br /&gt;
== Add note ==&lt;br /&gt;
&lt;br /&gt;
Quick and dirty way of taking notes. Will add a new object to the picked location that displays the object name (this will be the contents of the note).&lt;br /&gt;
&lt;br /&gt;
== Fit plane to GeoObject ==&lt;br /&gt;
&lt;br /&gt;
On some occasions, a GeoObject comprised of multiple different trace objects will define a well-constrained plane. As the trace-tool only allows plane-fitting to an individual trace, the &#039;&#039;Fit Plane to GeoObject&#039;&#039; tool will calculate a fit plane for all traces defining the upper and lower surfaces of a GeoObject. Use with care, as this can often produce spurious results.&lt;br /&gt;
&lt;br /&gt;
== Merge selected GeoObjects ==&lt;br /&gt;
&lt;br /&gt;
Merges all of the GeoObjects selected in the DB Tree into the currently active (most recently selected) GeoObject.&lt;br /&gt;
&lt;br /&gt;
== Estimate structure normals == &lt;br /&gt;
&lt;br /&gt;
Uses a bayesian plane-fitting method and moving window search algorithm to identify optimum best-fit planes for each point along the selected structure trace and hence estimate structure normals. If one (or more) GeoObjects are selected SNEs will be created for all traces within each object. If objects have upper and lower surfaces defined then true-thicknesses corresponding to each orientation can also be estimated. Results are stored on a &amp;quot;SNE&amp;quot; point cloud, including thickness, dip and dip direction scalar fields. Details of the different options that can be used for this tool are shown in the figure below. Note that fit-planes are not allowed to include pinch-nodes, meaning these can be used to separate different sections of a structure (e.g. a segmented dyke).&lt;br /&gt;
&lt;br /&gt;
[[File:sne_gui.png ‎|frame|center|Screenshot of the SNE estimation dialog and associated explanation of each option.]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When using this algorithm it is critical to carefully filter the results, as geometric quirks will often lead to wildly inaccurate results&#039;&#039;&#039;. The &amp;quot;segment&amp;quot; tool (scissors) can be used to delete unwanted SNEs as with any other point cloud. SNEs are also compatible with the stereonet tool in the qFacets plugin, which can aid in filtering erroneous results.&lt;br /&gt;
&lt;br /&gt;
== Export SVG ==&lt;br /&gt;
&lt;br /&gt;
Exports trace objects to a .svg file for &amp;quot;beautification&amp;quot; in vector-graphics packages such as Inkscape or Adobe Illustrator. Traces will projected into 2D using the current view-direction and camera settings, so should appear as viewed on the screen. Other objects (e.g. point clouds) can be included by rendering an image with standard CloudCompare functionality (&#039;&#039;Display-&amp;gt;Render to File&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
= Saving and exporting measurements =&lt;br /&gt;
&lt;br /&gt;
Interpretation generated using this tool is represented internally by Cloud Compare as planes and polygons, and so can be natively stored in CC&#039;s .bin files. For ease of use, a save tool has also been included. This tool exports plane and trace data to .csv files, from which data can be easily imported into other software packages for further analysis. Polylines created by the Trace and Lineation tools can also be exported as shapefiles through the normal Save dialog in Cloud Compare. To avoid confusion regarding different strike/dip conventions (British vs American RHR), we suggest using the exported dip and dip-direction values instead, or at least treating the strike values with care. &lt;br /&gt;
&lt;br /&gt;
= Further reading and citation =&lt;br /&gt;
&lt;br /&gt;
If you found this tool useful, please cite &#039;&#039;Thiele et al., 2017&#039;&#039;. The publication also contains a more detailed description of the methods employed by this plugin.&lt;br /&gt;
&lt;br /&gt;
[1] &#039;&#039;Thiele, S. T., Grose, L., Samsu, A., Micklethwaite, S., Vollgger, S. A., and Cruden, A. R.: Rapid, semi-automatic fracture and contact mapping for point clouds, images and geophysical data, Solid Earth, https://doi.org/10.5194/se-8-1241-2017, 2017&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Further information on the automatic vetting process for structural orientation estimates can be found in:&lt;br /&gt;
&lt;br /&gt;
[2] &#039;&#039;Thiele, ST., Micklethwaite, S., Bourke, P., Verrall, M., Kovesi, P., 2015, Insights into the mechanics of en-échelon sigmoidal vein formation using ultra-high resolution photogrammetry and computed tomography, Journal of Structural Geology, Volume 77, Pages 27-44, ISSN 0191-8141, http://dx.doi.org/10.1016/j.jsg.2015.05.006.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A detailed description of the SNE algorithm is currently being prepared (Nov 2018). A preprint version can be found here: https://www.researchgate.net/publication/329529172_Extraction_of_high-resolution_structural_orientations_from_digital_data_A_Bayesian_approach&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= The author =&lt;br /&gt;
&lt;br /&gt;
Sam Thiele (see his website: [https://www.samthiele.science https://www.samthiele.science])&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47460</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47460"/>
		<updated>2024-06-24T15:54:10Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.13.beta) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.1) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
* -NO_LABEL: to prevent creating/loading 2D labels from ASCII files in case text columns are present in the file (since version 2.13.2)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47459</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47459"/>
		<updated>2024-05-30T07:29:51Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.13.beta) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
See more information here: [https://github.com/CloudCompare/CloudCompare/pull/1909]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47458</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47458"/>
		<updated>2024-05-24T06:23:57Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use a newer version instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47457</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47457"/>
		<updated>2024-05-23T07:17:45Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* -SKIP_TX, -SKIP_TY and/or -SKIP_TZ to prevent the entities from moving along X, Y and/or Z (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use the latest [http://www.cloudcompare.org/release/CloudCompare_v2.6.3.beta_bin_x64.zip 2.6.3 beta version] instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47456</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47456"/>
		<updated>2024-04-11T06:53:54Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.13.beta) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-RESAMPLE&amp;lt;/code&amp;gt; to resample the input cloud (only in combination with OUTPUT_CLOUD and/or OUTPUT_MESH)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use the latest [http://www.cloudcompare.org/release/CloudCompare_v2.6.3.beta_bin_x64.zip 2.6.3 beta version] instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47455</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47455"/>
		<updated>2024-04-09T20:55:55Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.13.beta) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use the latest [http://www.cloudcompare.org/release/CloudCompare_v2.6.3.beta_bin_x64.zip 2.6.3 beta version] instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded or generated mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47454</id>
		<title>Command line mode</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Command_line_mode&amp;diff=47454"/>
		<updated>2024-02-19T21:22:43Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* Available options (version 2.13.beta) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since version 2.3, CloudCompare can be used in &amp;quot;command line&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, this mode only opens a small console window, applies the requested actions, and eventually saves the result in a file in the same directory(ies) as the input file(s). Commands are applied in the order they are written (like a &#039;&#039;state machine&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
=Available options (version 2.13.beta) =&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;10&amp;quot; style=&amp;quot;text-align:left; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot; &lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot; ! scope=&amp;quot;col&amp;quot; width=&amp;quot;200&amp;quot; | Command&lt;br /&gt;
!style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VERBOSITY [0-4]&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;sets the log verbosity level (0: verbose, 1: standard, 2: important, 3: warnings and errors only, 4: errors only)&#039;&#039;&lt;br /&gt;
notes:&lt;br /&gt;
- to hide plugin loading logs, it should be set as first argument (even before -SILENT, in which case -SILENT can be the second argument)&lt;br /&gt;
- since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SILENT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;enables silent mode (no console will appear)&#039;&#039;&lt;br /&gt;
Warning: must be first if required (or after -VERBOSITY).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a file&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the file format is ASCII, optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SKIP {number of lines to skip}&amp;lt;/code&amp;gt; If set, CC will automatically skip the specified number of lines&lt;br /&gt;
For all formats, optional settings are (version 2.5.6 and above):&lt;br /&gt;
* &amp;lt;code&amp;gt;-GLOBAL_SHIFT {AUTO} or {FIRST} or {x y z}&amp;lt;/code&amp;gt;&lt;br /&gt;
** AUTO: CC will automatically determine the best Global Shift translation to preserve coordinates accuracy&lt;br /&gt;
** FIRST: CC will use the same parameters that were used for the first entity (i.e. the result of the first usage of the &#039;AUTO&#039; option, or the first specified Global Shift vector (x,y,z)) - the FIRST option is available since v2.11&lt;br /&gt;
&lt;br /&gt;
* Warnings:&lt;br /&gt;
** the GLOBAL_SHIFT option will be ignored for BIN files as they already contain their own GLOBAL_SHIFT values!&lt;br /&gt;
** the AUTO option won&#039;t reuse the global shift set for previous entities. Use the FIRST option instead.&lt;br /&gt;
&lt;br /&gt;
Note: file type is automatically guessed from its extension.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMMAND_FILE {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039; loads commands from a file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other commands after -COMMAND_FILE will run after all commands in the file have been processed.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* multiple lines allowed&lt;br /&gt;
* multiple arguments in each line allowed&lt;br /&gt;
* quoted arguments are handled&lt;br /&gt;
* whole (or half) line comments with &#039;#&#039; or &#039;//&#039; are supported.&lt;br /&gt;
* partial comments are supported: &#039;/* my comment here */&#039; (must be quoted with either single or double quote if it contains spaces)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SELECT_ENTITIES -{FIRST} {first count} -{LAST} {last count} {-ALL} {-NOT} {-REGEX} {regex pattern}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Selects some entities among all those loaded, before applying the subsequent commands.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -FIRST {count}: if set, first count of entities will be selected (optional). Example: xx.....&lt;br /&gt;
* -LAST {count}: if set, last count of entities will be selected (optional). Example: .....xx&lt;br /&gt;
* -ALL: if set, all entities will be selected (optional). It has higher priority than FIRST/LAST/REGEX. Example: xxxxxxx&lt;br /&gt;
* -REGEX {regex_pattern}: if set, all entities with matching names will be selected (optional). It has higher priority than FIRST/LAST. Example: x(merged)..x(merged)...&lt;br /&gt;
* -NOT: if set, all condition will be reversed (optional)&lt;br /&gt;
** -NOT -FIRST {count} -&amp;gt; all but first {count}. Example: ..xxxxx&lt;br /&gt;
** -NOT -LAST {count} -&amp;gt; all but last {count}. Example: xxxxx..&lt;br /&gt;
** -NOT -ALL -&amp;gt; none. Example: .......&lt;br /&gt;
** -NOT -REGEX matched -&amp;gt; regex not matched. Example: .(merged)xx.(merged)xxx&lt;br /&gt;
** special case: -NOT -FIRST c1 -LAST c2 -&amp;gt; all except first &#039;c1&#039; AND last &#039;c2&#039; entities. Example: ..xxx..&lt;br /&gt;
* -CLOUD: if set, only clouds will be selected (optional)&lt;br /&gt;
* -MESH: if set, only meshes will be selected (optional)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* sub-options can be set in any order&lt;br /&gt;
* it is possible to use FIRST and LAST at the same time. Example: xx...xx&lt;br /&gt;
* if neither -CLOUD nor -MESH are set then both types of entities will be selected&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MOMENT {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the 1st order moment for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FEATURE {type} {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the geometric feature of type {type} for all loaded clouds with the specified radius:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{type} can be one of the following:&lt;br /&gt;
* SUM_OF_EIGENVALUES&lt;br /&gt;
* OMNIVARIANCE&lt;br /&gt;
* EIGENTROPY&lt;br /&gt;
* ANISOTROPY&lt;br /&gt;
* PLANARITY&lt;br /&gt;
* LINEARITY&lt;br /&gt;
* PCA1&lt;br /&gt;
* PCA2&lt;br /&gt;
* SURFACE_VARIATION&lt;br /&gt;
* SPHERICITY&lt;br /&gt;
* VERTICALITY&lt;br /&gt;
* EIGENVALUE1&lt;br /&gt;
* EIGENVALUE2&lt;br /&gt;
* EIGENVALUE3&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-OCTREE_NORMALS {radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Computes the [[Normals%5CCompute | normals]] for all loaded clouds with the specified radius.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-ORIENT {option}&amp;lt;/code&amp;gt; to define an orientation hint&lt;br /&gt;
** PLUS_ZERO or PLUS_ORIGIN (v2.12+): normals will all point outwards the origin (0, 0, 0)&lt;br /&gt;
** MINUS_ZERO or MINUS_ORIGIN (v2.12+): normals will all point towards the origin (0, 0, 0) &lt;br /&gt;
** PLUS_BARYCENTER: normals will all point outwards the cloud barycenter&lt;br /&gt;
** MINUS_BARYCENTER: normals will all point towards the cloud barycenter&lt;br /&gt;
** PLUS_X: normals will all point towards +X (i.e. Nx &amp;gt;= 0)&lt;br /&gt;
** MINUS_X: normals will all point towards -X (i.e. Nx &amp;lt;= 0)&lt;br /&gt;
** PLUS_Y: normals will all point towards +Y (i.e. Ny &amp;gt;= 0)&lt;br /&gt;
** MINUS_Y: normals will all point towards -Y (i.e. Ny &amp;lt;= 0)&lt;br /&gt;
** PLUS_Z: normals will all point towards +Z (i.e. Nz &amp;gt;= 0)&lt;br /&gt;
** MINUS_Z: normals will all point towards -Z (i.e. Nz &amp;lt;= 0)&lt;br /&gt;
** PREVIOUS: normals will have the same orientation as the previous normals (if any)&lt;br /&gt;
** SENSOR_ORIGIN (v2.12+): use the associated sensor origin (if any)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / QUADRIC&lt;br /&gt;
* input &#039;&#039;radius&#039;&#039; can be replaced by &#039;auto&#039; to let CC try to guess a possible value (since version 2.11)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* default local model is &#039;QUADRIC&#039;&lt;br /&gt;
* if you have files containing structured clouds (e.g. PTX, FARO, DP, etc.), it may be more efficient to use the &#039;COMPUTE_NORMALS&#039; option (see below)&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-INVERT_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Inverts the normals of the loaded entities (cloud or mesh, and per-vertex of per-triangle for meshes)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.12&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPUTE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;forces CC to compute normals at loading time (which is generally more robust) when importing files containing structured clouds (i.e. PTX, FARO and DP file for now). Normals are not computed by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: must be placed before the &#039;-O&#039; option.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 3 scalar fields (Nx, Ny and Nz).&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_DIP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to 2 &#039;dip&#039; and &#039;dip direction&#039; scalar fields.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NORMALS_TO_HSV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts normal vectors to HSV colors.&#039;&#039;&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all normals from the loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ORIENT_NORMS_MST {number of neighbors}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Normals%5COrient_Normals_With_Minimum_Spanning_Tree | (Re)orient the normals]] of the loaded clouds with a Minimum Spanning Tree.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: Clouds without normals are simply ignored.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated clouds as one unique cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MERGE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;merges all loaded/generated meshes as one unique mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this). This option is available since version 2.9.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SS {algorithm} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Edit%5CSubsample | subsampling]] {algorithm} to the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{algorithm} can be RANDOM, SPATIAL or OCTREE.&lt;br /&gt;
Then, the expected {parameter} value depends on the chosen algorithm:&lt;br /&gt;
* RANDOM: number of randomly selected points&lt;br /&gt;
* SPATIAL: minimum distance between two points&lt;br /&gt;
* OCTREE: subdivision level (between 1 and 10 in the standard version)&lt;br /&gt;
&lt;br /&gt;
Optional sub-options are (since version 2.13):&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS {number}: to subsample with the highest octree level for which the resulting point count won&#039;t exceed the given number of points&lt;br /&gt;
* -SS OCTREE NUMBER_OF_POINTS PERCENT {number}: to calculate NUMBER_OF_POINTS from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS OCTREE CELL_SIZE {size}: to deduce the octree level from the given cell size.&lt;br /&gt;
* -SS RANDOM PERCENT {number}: to calculate the number of sampled points from PERCENT. PERCENT should be a decimal number between 0 and 100.&lt;br /&gt;
* -SS SPATIAL {fallback_step} USE_ACTIVE_SF {step_at_SF_min} {step_at_SF_max}: to use spatial step interpolation based on the active scalar field (the fallback step will be used if the active SF has only invalid values)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their subsampled version (since version 2.6.1)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_CC {octree level} {minimum number of points per component}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;extracts the [[Label_Connected_Components | connected components]] from the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{octree level} should be between 1 and 21.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* extracted components are automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are replaced by the extracted components&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAMPLE_MESH {method} {parameter}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CSample_points | samples points]] on the loaded mesh(es).&#039;&#039;&lt;br /&gt;
For each mesh, a cloud will be generated (and will be added to the current loaded cloud set - i.e. further processing can be applied to this cloud).&lt;br /&gt;
&lt;br /&gt;
{method} can be POINTS or DENSITY. Expected parameter is:&lt;br /&gt;
* POINTS: the corresponding number of points&lt;br /&gt;
* DENSITY: the corresponding surface density&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* this cloud can be used as input for cloud-to-cloud or cloud-to-mesh distances computation for instance.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-EXTRACT_VERTICES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Extract the vertices of all loaded meshes as standalone point clouds. Note that this option is not yet activated! (sorry about that)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the source mesh is discarded&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2C_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Cloud_Distance | cloud-to-cloud distances]] on the two first loaded/generated clouds (1st = compared / 2nd = reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XYZ&amp;lt;/code&amp;gt; If set, 3 additional scalar fields will be generated (displacement along the 3 dimensions)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MODEL {local_model_type} {neighborhood_type} {neighborhood_size}&amp;lt;/code&amp;gt; to specify a local model:&lt;br /&gt;
** {local_model_type} = LS / TRI / HF&lt;br /&gt;
** {neighborhood_type} = KNN / SPHERE&lt;br /&gt;
** {neighborhood_size} = neighbor count (if KNN) or sphere radius (if SPHERE)&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C2M_DIST&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Cloud-to-Mesh_Distance | Cloud-to-Mesh distances]] between the first loaded/generated cloud (compared) and the first loaded mesh (reference).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-FLIP_NORMS&amp;lt;/code&amp;gt; to consider that normal vectors point inside the matter and not outside&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_DIST {value}&amp;lt;/code&amp;gt; to set a max distance above which CC won&#039;t have to search for a nearest neighbor (faster)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OCTREE_LEVEL {value}&amp;lt;/code&amp;gt; to manually set the octree subdivision level at which the computation will be performed&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_TCOUNT {thread count}&amp;lt;/code&amp;gt; to set the maximum number of threads to use&lt;br /&gt;
* &amp;lt;code&amp;gt;-UNSIGNED&amp;lt;/code&amp;gt; to compute unsigned distances (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SPLIT_XY_Z&amp;lt;/code&amp;gt; to split the distance between the z component and the xy plane component (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RASTERIZE -GRID_STEP {value}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Rasterize | Rasterizes]] the loaded clouds by projecting them inside a regular grid.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the altitude of each cell is computed (minimum, average or maximum altitude of the projected points). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-SF_PROJ {MIN/AVG/MAX}&amp;lt;/code&amp;gt; to specify how the SF value(s) of each cell are computed (minimum, average or maximum of the projected points SF value(s)). Default is AVG (average)&lt;br /&gt;
* &amp;lt;code&amp;gt;-EMPTY_FILL {MIN_H/MAX_H/CUSTOM_H/INTERP/KRIGING}&amp;lt;/code&amp;gt; to specify how empty cells should be filled:&lt;br /&gt;
** MIN_H = min height&lt;br /&gt;
** MAX_H = max height&lt;br /&gt;
** CUSTOM_H = custom value (warning: you must also set the CUSTOM_HEIGHT option - see below)&lt;br /&gt;
** INTERP = interpolate with Delaunay triangulation (warning: you may have to set the MAX_EDGE_LENGTH parameters as well - see below)&lt;br /&gt;
** KRIGING = interpolate with Kriging (since version 2.13)&lt;br /&gt;
Default behavior is &#039;leave cells empty&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;-MAX_EDGE_LENGTH {value}&amp;lt;/code&amp;gt; to specify a maximum triangle edge length for interpolation (to be used with -EMPTY_FILL INTERP - default value is 1.0) (since version 2.12)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CUSTOM_HEIGHT {value}&amp;lt;/code&amp;gt; to define the custom height filling value (if the &#039;-EMPTY_FILL CUSTOM_H&#039; strategy is used - see above - if not set, the EMPTY_FILL option will fall back to &#039;leave cells empty&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-KRIGING_KNN {number of neighbors}&amp;lt;/code&amp;gt; to define the number of neighbors used for Kriging (if the &#039;-EMPTY_FILL KRIGING&#039; strategy is used - see above - default is 8) (since version 2.13)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_CLOUD&amp;lt;/code&amp;gt; to output the result as a cloud (this is the default option if no other output format is defined)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output the result as a mesh&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z&amp;lt;/code&amp;gt; to output the result as a geotiff raster (only altitudes, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_Z_AND_SF&amp;lt;/code&amp;gt; to output the result as a geotiff raster (altitudes + all SFs by default, no RGB)&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_RASTER_RGB&amp;lt;/code&amp;gt; to output the result as a geotiff raster (RGB)&lt;br /&gt;
Notes:&lt;br /&gt;
* if OUTPUT_CLOUD or OUTPUT_MESH is selected, the resulting entity will replace the original cloud in memory&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-VOLUME -GRID_STEP {grid step}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[2.5D_Volume | 2.5D estimation of the volume]] between two point clouds (the first is the ceiling, the second is the ground by default).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This tool outputs two files:&lt;br /&gt;
* the volume calculation report (named VolumeCalculationReport.txt and saved next to the first file)&lt;br /&gt;
* the 2.5D grid points with the &#039;height difference&#039; as a scalar field and also as RGB colors (colors are generated with the default color scale of CC). The file is saved next to the previous one, and it has the same base name as the first file with &#039;_HEIGHT_DIFFERENCE&#039; appended at the end.&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-VERT_DIR {0/1/2}&amp;lt;/code&amp;gt; to specify the projection dimension (0=X / 1=Y / 2=Z) - default is 2 (Z)&lt;br /&gt;
* &amp;lt;code&amp;gt;-CONST_HEIGHT {value}&amp;lt;/code&amp;gt; to use a constant height instead of the second cloud&lt;br /&gt;
* &amp;lt;code&amp;gt;-GROUND_IS_FIRST&amp;lt;/code&amp;gt; to invert the clouds order&lt;br /&gt;
* &amp;lt;code&amp;gt;-OUTPUT_MESH&amp;lt;/code&amp;gt; to output a mesh instead of a cloud&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* see below for more details&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-STAT_TEST {distrib} {distrib parameters} {p-value} {neighbors count}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a [[Local_Statistical_Test | local statistical test]] based on their active scalar field to all the of loaded/generated clouds.&#039;&#039;&lt;br /&gt;
{distrib} can be GAUSS or WEIBULL. Expected distribution parameters are:&lt;br /&gt;
* GAUSS: the mean value and sigma&lt;br /&gt;
* WEIBULL: a, b and the shift value&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COORD_TO_SF {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CExport_coordinate(s)_to_SF(s) | exports the specified coordinate]] (dimension) to a scalar field.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: creates a new scalar field (or overwrite any existing one with the same name) and sets it active.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_TO_COORD {sf index or name} {dimension: X, Y or Z}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CSet_SF_as_coordinate(s) | set the specified scalar field values as coordinate]] (dimension) of the loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COLOR_INTERP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Colors\Interpolate from another entity | Interpolates the colors]] from one cloud to the other cloud.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FILTER_SF {minVal} {maxVal}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Scalar_fields%5CFilter_by_Value | filters]] all the loaded/generated clouds (or meshes, since version 2.13) based on their active scalar field values.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A new cloud (or new mesh) is created each time with only the points falling in the [minVal maxVal] interval.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
* input clouds are now replaced by their filtered version (since version 2.6.1) and likewise for meshes (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
You can use special words in place of numbers that CC will replace by the actual SF values:&lt;br /&gt;
* &#039;MIN&#039; = min value&lt;br /&gt;
* &#039;DISP_MIN&#039; = min displayed value&lt;br /&gt;
* &#039;SAT_MIN&#039; = min saturation value&lt;br /&gt;
* &#039;MAX&#039; = max value&lt;br /&gt;
* &#039;DISP_MAX&#039; = max displayed value&lt;br /&gt;
* &#039;SAT_MAX&#039; = max saturation value&lt;br /&gt;
* &#039;N_SIGMA_MIN {N}&#039; = mean - N * standard deviation&lt;br /&gt;
* &#039;N_SIGMA_MAX {N}&#039; = mean + N * standard deviation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DENSITY {sphere radius}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Density | density]] (inside a sphere around each point) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPROX_DENSITY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Density | approximate density]] on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional setting:&lt;br /&gt;
* -TYPE {density_type}: to specify the type of density to compute. {density_type} can be KNN (nearest neighbors count), SURFACE (surface density) or VOLUME (volume density).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud.&lt;br /&gt;
* result is automatically saved.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ROUGH {kernel size} {-UP_DIR {x} {y} {z}} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Roughness | roughness]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since version 2.13, optional parameter &amp;lt;code&amp;gt;-UP_DIR {x} {y} {z}&amp;lt;/code&amp;gt; allows to specify a &#039;up direction&#039; to sign roughness values.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CURV {type} {kernel size}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes [[Curvature | local curvature]] with a given kernel size on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
{type} can be MEAN, GAUSS or NORMAL_CHANGE (this last option stands for &#039;Normal change rate&#039; and is only available in version 2.10 or later).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_GRAD {euclidian}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Scalar_fields%5CGradient | gradient]] of the active scalar field (or the first one if none is active) on the currently opened/generated cloud(s).&#039;&#039;&lt;br /&gt;
The {euclidian} option specifies whether the scalar field is &#039;euclidian&#039; (TRUE) - typically like a distance field - or not (FALSE).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a new scalar field is created on each cloud&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BEST_FIT_PLANE&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;computes the [[Fit_Plane | best fitting plane]] on all loaded clouds.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -MAKE_HORIZ: will actually transform the loaded cloud(s) so as to make them &#039;horizontal&#039;&lt;br /&gt;
* -KEEP_LOADED: to keep the resulting plane(s) in memory as mesh(es)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* resulting planes are automatically saved&lt;br /&gt;
* if MAKE_HORIZ is defined, result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-APPLY_TRANS {-APPLY_TO_GLOBAL {FORCE}} {-INVERSE} {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies a 4x4 transformation matrix to the loaded entities (clouds or meshes). The matrix is read from a simple text file with the matrix rows on each line (4 values per lines, 4 lines).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sub-options are:&lt;br /&gt;
* -INVERSE: to invert the transformation before applying it (since version 2.13)&lt;br /&gt;
* -APPLY_TO_GLOBAL {FORCE}: to apply the transformation to the global coordinates instead of the local coordinates (since version 2.13)&lt;br /&gt;
** warning: the Global Shift might be automatically adjusted to preserve accuracy (and small local coordinates)&lt;br /&gt;
** by default, the Global Shift won&#039;t be automatically adjusted if the local coordinates are already large.&lt;br /&gt;
** Use &#039;FORCE&#039; after -APPLY_TO_GLOBAL to force CC to adjust the Global Shift in any case.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* each entity will be replaced in memory by its transformed version&lt;br /&gt;
* resulting entities are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-MATCH_CENTERS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;makes all the (bounding-box) centers of the loaded entities match. All the entities will move relatively to the first one (clouds are always considered first if clouds and meshes are loaded).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: result is automatically saved by default (see the AUTO_SAVE command to change this).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DELAUNAY&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Mesh%5CDelaunay_2.5D_(XY_plane) | Triangulates]] the loaded clouds with 2.5D Delaunay triangulation. The triangulation is done in the (XY) plane by default.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -AA: to triangulate the points in the (XY) plane (default behavior).&lt;br /&gt;
* -BEST_FIT: to [[Mesh%5CDelaunay_2.5D_(best_fit_plane) | triangulate the points in their best fit plane]]&lt;br /&gt;
* -MAX_EDGE_LENGTH {length}: to remove the triangles with edges longer than a given threshold&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the resulting &#039;mesh&#039; entity is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the clouds are automatically removed (from the &#039;loaded clouds&#039; set).&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FLIP_TRI&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Flips the order of the triangle vertices of all opened meshes (since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated mesh entities are automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-ICP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[ICP | Iterative Closest Point]] registration procedure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -REFERENCE_IS_FIRST: by default the ICP registration process will take the first loaded entity as &#039;data&#039; and the second as &#039;model&#039; (clouds are always considered first). If you use this option their respective role will be inverted.&lt;br /&gt;
* -MIN_ERROR_DIFF: to specify the min. error difference between two steps (default = 1e-6)&lt;br /&gt;
* -ITER: to specify the number of iterations (in which case the &#039;MIN_ERROR_DIFF&#039; option will be ignored)&lt;br /&gt;
* -OVERLAP: to specify the percentage of (final) overlap (integer number between 10 and 100 - default = 100)&lt;br /&gt;
* -ADJUST_SCALE: to enable the ICP registration with adaptive scale&lt;br /&gt;
* -RANDOM_SAMPLING_LIMIT: to specify the number of points randomly sampled at each iteration (default = 20 000)&lt;br /&gt;
* -FARTHEST_REMOVAL: to enable the &#039;&#039;research&#039;&#039; option that ignores points with the highest distances at each iteration&lt;br /&gt;
* -DATA_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;data&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -MODEL_SF_AS_WEIGHTS + {SF index or name}: to use a given scalar field as weights on the &#039;model&#039; entity (index starts from 0 - the &#039;LAST&#039; keyword can be used)&lt;br /&gt;
* -ROT + {&#039;XYZ&#039; or &#039;X&#039; or &#039;Y&#039; or &#039;Z&#039; or &#039;NONE&#039;}: to constrain the rotation around a given axis (or no rotation at all) (since version 2.11)&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the &#039;data&#039; entity in its final position is automatically saved (see the AUTO_SAVE command to change this).&lt;br /&gt;
* the corresponding transformation matrix is automatically saved in a separate text file (always).&lt;br /&gt;
* the name of the weight scalar fields can be used only since version 2.13 (only the SF index was accepted in previous versions)&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field (to be used with DATA_SF_AS_WEIGHTS or MODEL_SF_AS_WEIGHTS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP {Xmin:Ymin:Zmin:Xmax:Ymax:Zmax}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Crop | Crops]] all loaded clouds inside or outside a given box.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input box will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version (since version 2.11, the cloud is removed from memory if it&#039;s totally cropped out)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROP2D {ortho_dim} {n:number of vertices} X1 Y1 X2 Y2 ... Xn Yn&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Crops all loaded clouds inside or outisde a given 2D polyline. Cropping is done in a plane defined by its orthogonal dimension: X, Y or Z (i.e. coordinates along this dimension will be ignored).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -OUTSIDE: if defined only the points falling outside the input polyline will be kept (instead of inside by default).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* each cloud will be replaced in memory by its cropped version&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CROSS_SECTION {XML parameters file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;[[Cross_Section | Extracts one or multiple sections]] from the clouds or meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Either the loaded clouds and/or meshes (see the -O option) can be used otherwise CC can load one or several files from a specified folder (use the &#039;FilePath&#039; key).&lt;br /&gt;
&lt;br /&gt;
See [http://www.cloudcompare.org/doc/cross_section_params.xml] for an example of XML parameter file.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* output sections for meshes are &#039;clean&#039; (i.e. triangles on the cutting borders are re-meshed)&lt;br /&gt;
* output sections are automatically saved in sub-folders (they are not kept in memory)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SOR {number of neighbors} {sigma multiplier}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[SOR_filter | SOR (Statistical Outlier Removal) filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NOISE KNN/RADIUS {value 1} REL/ABS {value 2} {RIP}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Noise_filter | Noise filter]] to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
Value 1: the caller has to choose between KNN (number of neighbors) or RADIUS (spherical neighborhood)&lt;br /&gt;
Value 2: the caller has to choose between REL (multiplier of the local error standard deviation) or ABS (absolute error)&lt;br /&gt;
RIP: Remove Isolated Points (optional)&lt;br /&gt;
&lt;br /&gt;
Example: &#039;-NOISE RADIUS 0.5 REL 1.0 RIP&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RDP {min distance between points}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Remove_duplicate_points | Remove duplicate points]] tool to the loaded cloud(s).&#039;&#039;&lt;br /&gt;
For each cloud, a new one will be generated (and will replace the origin cloud).&lt;br /&gt;
&lt;br /&gt;
The minimum distance between points (to not consider them as duplicate) can be set. Otherwise a very small value is used  by default.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;display various pieces of information to help one debug and tweak the command line.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* can be placed at different positions&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_ENTITIES {base name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;rename all loaded entities (clouds or meshes) with the provided base name.&#039;&#039;&lt;br /&gt;
A numerical suffix is automatically added if multiple entities are loaded.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ARITHMETIC {SF index or name} {operation} {option}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies [[Scalar_fields%5CArithmetic | operations]] to a given scalar field of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF2 = operation(SF)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* sqrt (square root)&lt;br /&gt;
* pow2&lt;br /&gt;
* pow3&lt;br /&gt;
* exp&lt;br /&gt;
* log&lt;br /&gt;
* log10&lt;br /&gt;
* cos&lt;br /&gt;
* sin&lt;br /&gt;
* tan&lt;br /&gt;
* acos&lt;br /&gt;
* asin&lt;br /&gt;
* atan&lt;br /&gt;
* int (integer part)&lt;br /&gt;
* inverse&lt;br /&gt;
* abs (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* &amp;lt;code&amp;gt;-IN_PLACE&amp;lt;/code&amp;gt; to apply the operation in place, without creating a new SF (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* a new scalar field is created&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP {SF index or name} {operation} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to a given scalar field of the loaded cloud/mesh and with a given scalar value.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF (+,-,*,/) VALUE&lt;br /&gt;
or&lt;br /&gt;
SF = &#039;SET&#039; VALUE (since version 2.13)&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* set (since v2.13)&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* the SF name can be used since version 2.13 only&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_OP_SF {SF1 index or name} {operation} {SF2 index or name} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies an [[Scalar_fields%5CArithmetic | arithmetic operation]] to two scalar fields of the loaded cloud/mesh.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
SF = SF1 (+,-,*,/) SF2&lt;br /&gt;
&lt;br /&gt;
The scalar-field indexes start from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Supported operations are:&lt;br /&gt;
* add&lt;br /&gt;
* sub&lt;br /&gt;
* mult&lt;br /&gt;
* div&lt;br /&gt;
* min&lt;br /&gt;
* max&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* the updated cloud/mesh is automatically saved (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the modification is done in place (i.e. the scalar field is directly modified)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_INTERP {SF index} {-DEST-IS_FIRST} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;applies the [[Scalar_fields%5CInterpolate_from_another_entity | SF Interpolate from another entity]] algorithm to a given scalar field of the 2 first loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default the first cloud will be considered as the source cloud (with the designated scalar field) and the second cloud is the destination cloud. Use the sub-option -DEST-IS_FIRST to invert their roles.&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Warning: for now the command line will always use the same options:&lt;br /&gt;
* interpolation method: nearest neighbors&lt;br /&gt;
* interpolation algorithm: normal distribution&lt;br /&gt;
* radius = 1% of the destination cloud bounding-box&lt;br /&gt;
* sigma = 40% of the radius &lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* the updated cloud is not automatically saved! (use the SAVE_CLOUDS command to do it)&lt;br /&gt;
* it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_ADD_CONST {SF name} {value} &amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;adds a constant scalar field (with the specified value for all scalar values) to the loaded clouds&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
* updated clouds are automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RENAME_SF {SF index or name} {new name}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;renames a given scalar field of the loaded clouds/meshes.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The scalar-field index starts from 0. The user can use the keyword &#039;LAST&#039; to designate the last scalar field.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* the SF name can only be used since version 2.13&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CBANDING {dim} {freq}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CHeight_Ramp | color banding]] to all loaded entities (clouds and meshes). The user must specify the dimension (dim = X, Y or Z) and the frequency (in Hz, as an integer).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEVELS {bands} {input range min} {input range max} {output range min} {output range max}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Applies [[Colors%5CLevels | color levels]] to all loaded entities (clouds and meshes).&lt;br /&gt;
&lt;br /&gt;
The caller must specify:&lt;br /&gt;
* the color bands (can be any mix of &#039;R&#039;, &#039;G&#039; and &#039;B&#039; - ex: &#039;G&#039; or &#039;RB&#039; or &#039;RGB&#039;)&lt;br /&gt;
* the input range (typically where most of the color information lies, ex: 40 210)&lt;br /&gt;
* the output range (typically: 0 255)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* result is automatically saved by default (see the AUTO_SAVE command to change this)&lt;br /&gt;
* since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_COLOR_SCALE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Loads a color scale from a XML file (generated with the [[Scalar_fields%5CColor_Scales_Manager | Color Scales Manager]]). The loaded color scale is then applied to the active scalar field of all loaded clouds (and all loaded meshes since version 2.13).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SF_CONVERT_TO_RGB {TRUE/FALSE}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the active scalar field to RGB colors. The user must explicitly specify whether the previously existing colors (if any) should be mixed with the new ones (TRUE) or overwritten (FALSE).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* it may be necessary to explicitly set the active scalar field with the SET_ACTIVE_SF command&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RGB_CONVERT_TO_SF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Converts the RGB colors to 5 scalar fields in the following order: Red, Green, Blue, Alpha and Composite.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M3C2 {parameters_file}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls the [[M3C2_(plugin) | M3C2]] plugin (if available) on the two first loaded clouds. If a 3rd cloud is loaded, it will be used a core points. The first time, the parameters file can be created with the GUI tool (use the &#039;Save parameters to file&#039; button in the bottom-left corner of the M3C2 dialog = the floppy icon). It can then be edited easily.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CSF {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ CSF_(plugin) | Cloth Simulation Filter (CSF) plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;-SCENES [scene]&#039; name of the scene options are:&lt;br /&gt;
** &#039;SLOPE&#039;&lt;br /&gt;
** &#039;RELIEF&#039;&lt;br /&gt;
** &#039;FLAT&#039;&lt;br /&gt;
* &#039;-PROC_SLOPE&#039; (turns on slope post processing for disconnected terrain)&lt;br /&gt;
* &#039;-CLOTH_RESOLUTION [value]&#039; (double value of cloth resolution [ex. 0.5])&lt;br /&gt;
* &#039;-MAX_ITERATION [value]&#039; (integer value of max iterations [ex. 500])&lt;br /&gt;
* &#039;-CLASS_THRESHOLD [value]&#039; (double value of classification threshold [ex. 0.5])&lt;br /&gt;
* &#039;-EXPORT_GROUND&#039; (exports the ground as a .bin file)&lt;br /&gt;
* &#039;-EXPORT_OFFGROUND&#039; (exports the off-ground as a .bin file)&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.12 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CANUPO_CLASSIFY {classifier.prm}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Calls a [[CANUPO_(plugin) | CANUPO]] classifier (if the plugin is available) on the loaded clouds. You&#039;ll need a trained classifier (.prm file)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* USE_CONFIDENCE {threshold}&lt;br /&gt;
** threshold must be between 0 and 1&lt;br /&gt;
** use the &#039;SET_ACTIVE_SF&#039; after loading a cloud to set the active scalar field if you want it to be used to refine the classification&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PCV&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ ShadeVis (plugin) | PCV plugin]] (also known as ambient occlusion or ShadeVis)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -N_RAYS [value]: number of rays&lt;br /&gt;
* -IS_CLOSED: Tells PCV that the mesh is watertight. This accelerates processing.&lt;br /&gt;
* -180: Rays only come from the &amp;quot;northern hemisphere&amp;quot; (northern means +Z)&lt;br /&gt;
* -RESOLUTION: OpenGL context resolution&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-RANSAC&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Runs the [[ RANSAC_Shape_Detection_(plugin) | Ransac Shape Detection plugin]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Options are:&lt;br /&gt;
* &#039;EPSILON_ABSOLUTE&#039; (Max distance to primitive)&lt;br /&gt;
* &#039;EPSILON_PERCENTAGE_OF_SCALE&#039; (Max distance to primitive as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_PERCENTAGE_OF_SCALE&#039; (Sampling resolution as a percentage of cloud scale 0.0-1.0 exclusive)&lt;br /&gt;
* &#039;BITMAP_EPSILON_ABSOLUTE&#039; (Sampling resolution)&lt;br /&gt;
* &#039;SUPPORT_POINTS&#039; (Min Support points per primitive)&lt;br /&gt;
* &#039;MAX_NORMAL_DEV&#039; (Max normal deviation from the ideal shape normal vector [in Degrees])&lt;br /&gt;
* &#039;PROBABILITY&#039; (Probability that no better candidate was overlooked during sampling, lower the better!)&lt;br /&gt;
* &#039;OUT_CLOUD_DIR&#039; (path to save detected shapes clouds to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_MESH_DIR&#039; (path to save detected shapes meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_PAIR_DIR&#039; (path to save detected shapes clouds &amp;amp; meshes to, current dir if unspecified)&lt;br /&gt;
* &#039;OUT_GROUP_DIR&#039; (path to save all shapes and primitives to as a single file, current dir if unspecified)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_SUBCLOUDS&#039; (specify to output detected shapes clouds)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PRIMITIVES&#039; (specify to output detected shapes meshes)&lt;br /&gt;
* &#039;OUTPUT_INDIVIDUAL_PAIRED_CLOUD_PRIMITIVE&#039; (specify to output detected shapes clouds &amp;amp; meshes)&lt;br /&gt;
* &#039;OUTPUT_GROUPED&#039; (specify to output all detected shapes clouds &amp;amp; meshes as single file)&lt;br /&gt;
* &#039;ENABLE_PRIMITIVE&#039; (each shape listed after this option will be searched for )&lt;br /&gt;
** &#039;PLANE&#039;&lt;br /&gt;
** &#039;SPHERE&#039;&lt;br /&gt;
**&#039;CYLINDER&#039;&lt;br /&gt;
**&#039;CONE&#039;&lt;br /&gt;
**&#039;TORUS&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* since version 2.11 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-C_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -PREC [precision]: to specify the numerical output precision (for ASCII files only). &#039;&#039;precision&#039;&#039; is a positive integer (default = 12).&lt;br /&gt;
* -SEP [separator]: to specify the separator character (for ASCII files only). &#039;&#039;separator&#039;&#039; can be one of the following string: SPACE, SEMICOLON, COMMA or TAB (default = SPACE).&lt;br /&gt;
* -ADD_HEADER: to add a header with each column&#039;s name to the saved file (for ASCII files only).&lt;br /&gt;
* -ADD_PTS_COUNT: to add the number of points at the beginning of the saved file (for ASCII files only).&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING: the ADD_HEADER and ADD_PTS_COUNT options are broken in the 2.6.2 version. Use the latest [http://www.cloudcompare.org/release/CloudCompare_v2.6.3.beta_bin_x64.zip 2.6.3 beta version] instead.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-M_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for meshes. Format can be one of the following: BIN, OBJ, PLY, STL, VTK, MA, FBX.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -EXT [extension]: to specify the file extension (typically different from the default one for the chosen format)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-H_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for groups (hierarchy objects). Mostly the BIN format, but other formats that support a collection of objects might be elligible.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FBX -EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for FBX meshes. Must be specified in addition to M_EXPORT_FMT if FBX format is chosen. Format can be one of the following: FBX_binary, FBX_ascii, FBX_encrypted, FBX_6.0_binary, FBX_6.0_ascii, FBX_6.0_encrypted.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if the input format is not supported by the current implementation, a list of available formats will be output in the console.&lt;br /&gt;
* the option was &amp;quot;-FBX_EXPORT_FMT&amp;quot; in version 2.10 and earlier&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-PLY_EXPORT_FMT {format}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Specifies the default output format for PLY files. Format can be one of the following: ASCII, BINARY_BE (big endian) or BINARY_LE (little endian).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: default output format is binary (LE/BE depending on the current OS)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-NO_TIMESTAMP&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;to prevent CC from generating an automatic suffix (timestamp) for output file name (warning: this make the name of an output file predictable but if the file already exists it will be overwritten).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-BUNDLER_IMPORT {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;imports a Snavely&#039;s Bundler file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Bundler import through the command line is mainly meant to generate ortho-rectified versions of input images directly on disk.&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* -ALT_KEYPOINTS [filename]: load alternative keypoints from file &#039;&#039;filename&#039;&#039;&lt;br /&gt;
* -SCALE_FACTOR [value]: sets image scale factor that has been used during keypoints generation&lt;br /&gt;
* -COLOR_DTM [vertices count]: generates colored vertices of a pseudo-DTM with approximately &#039;vertices count&#039; elements (in command line mode, vertices are automatically saved to &#039;colored_dtm_vertices.bin&#039; next to ortho-rectified images)&lt;br /&gt;
* -UNDISTORT: enables images undistortion&lt;br /&gt;
&lt;br /&gt;
Note: see below for more details.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_GLOBAL_SHIFT {x} {y} {z} {-KEEP_ORIG_FIXED}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Overrides the Global Shift information for all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the sub-option -KEEP_ORIG_FIXED to maintain the global coordinates unchanged. This will in effect translate the points in the local coordinate system (a warning may be issued if the resulting coordinates are too big).&lt;br /&gt;
&lt;br /&gt;
Note: since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-DROP_GLOBAL_SHIFT&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the Global Shift information from all loaded entities.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* equivalent to using &#039;-SET_GLOBAL_SHIFT 0 0 0&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SET_ACTIVE_SF {SF index or &#039;SF name&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Sets the active scalar field index or name (same for all loaded clouds).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* scalar field indexes start at 0 (&#039;-1&#039; means &#039;no SF enabled&#039;)&lt;br /&gt;
* the SF name must be surrounded by simple quotes (e.g. &#039;Point Source Id&#039;)&lt;br /&gt;
* designing the SF by its name is only possible since version 2.13&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_ALL_SFS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scalar fields (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SF {index}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes the scalar field at the specified index (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* if no SF is found at this index, a simple warning will be issued (no error will be triggered).&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.12&lt;br /&gt;
* since version 2.13, it is possible to use &#039;-1&#039; as index to designate the default/current scalar field&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_RGB&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes colors (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_NORMALS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes normals (from all loaded clouds or meshes, per vertex or per faces).&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* since version 2.11&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SCAN_GRIDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all scan grids (from all loaded clouds or meshes).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.10 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-REMOVE_SENSORS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Removes all sensors (both TLS and cameras, directly under clouds, meshes or mesh vertices).&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* entities are not automatically saved after this command (you can use -SAVE_CLOUDS or -SAVE_MESHES explicitly)&lt;br /&gt;
* available since version 2.13 only&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-COMPRESS_FWF&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;compresses FWF data associated to all clouds in memory (waveform support)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-AUTO_SAVE {&#039;&#039;ON/OFF&#039;&#039;}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Enables (&#039;&#039;ON&#039;&#039;) or disables (&#039;&#039;OFF&#039;&#039;) automatic backup of clouds and meshes at each step (you&#039;ll have to manually call &#039;&#039;-SAVE_CLOUDS&#039;&#039; or &#039;&#039;-SAVE_MESHES&#039;&#039; at the right time/position in your command).&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded clouds (note that this is not necessary by default as all modified or newly generated cloud are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all clouds in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;Saves all currently loaded meshes (note that this is not necessary by default as all modified or newly generated meshes are automatically saved).&#039;&#039;&lt;br /&gt;
Optional settings are:&lt;br /&gt;
* ALL_AT_ONCE: saves all meshes in a single file (the current output format must support it!)&lt;br /&gt;
* FILE &amp;quot;file1.xxx file2.yyy ...&amp;quot; : to specify the output filename(s) of the clouds (use quotes if multiple names or names with space characters) [since version 2.10]&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded entities.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded clouds.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-CLEAR_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;closes all currently loaded meshes.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_CLOUDS&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded cloud.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-POP_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;removes the last loaded mesh.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-LOG_FILE {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;logs all command output messages in a given file.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_O {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;opens a LAS 1.3/1.4 file (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &amp;lt;code&amp;gt;-FWF_SAVE_CLOUDS {filename}&amp;lt;/code&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;| &#039;&#039;saves all clouds in memory a LAS 1.3/1.4 files (waveform support) [Windows version only]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Note: this is deprecated (or at least useless) with version 2.13 as the new LAS I/O plugin now natively handles FWF data on all platforms.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Example 0=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O -GLOBAL_SHIFT AUTO mylargecoordinatescloud.las -C_EXPORT_FMT LAS -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open file &#039;&#039;mylargecoordinatescloud.las&#039;&#039; with an automatic Global Shift (to avoid issues with large coordinates), then set the export format to be LAS as well (otherwise the CloudCompare BIN format is used by default) and eventually it applies some spatial subsampling with a 0.1 step (= 0.1 meter, assuming the LAS file coordinates are in meters). The output file will be &#039;&#039;mylargecoordinatescloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.las&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 1=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud.bin&#039;&#039; -SS SPATIAL 0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters). The output file will be &#039;&#039;myhugecloud_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Example 2=&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -O &#039;&#039;myhugecloud1.bin&#039;&#039; -SS SPATIAL 0.1 -O &#039;myhugecloud2.bin&#039; -SS RANDOM 1000000 -CLEAR_ALL -O &#039;myhugecloud3.bin&#039; -SS OCTREE 9&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open file &#039;&#039;myhugecloud1.bin&#039;&#039; then apply spatial subsampling with a 0.1 step (e.g. in meters).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will open file &#039;&#039;myhugecloud2.bin&#039;&#039; and apply to &#039;&#039;&#039;both files&#039;&#039;&#039; random subsampling (1 000 000 points each).&amp;lt;br&amp;gt;&lt;br /&gt;
Then it will close the two first files.&amp;lt;br&amp;gt;&lt;br /&gt;
Eventually it will open file &#039;&#039;myhugecloud3.bin&#039;&#039; and apply octree based subsampling (level 9).&lt;br /&gt;
&lt;br /&gt;
The output files will be: &#039;&#039;myhugecloud1_SPATIAL_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud1_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;, &#039;&#039;myhugecloud2_RANDOM_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039; and &#039;&#039;myhugecloud3_OCTREE_level_9_SUBSAMPLED_YYYY-MM-DD_HHhMM.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-cloud distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o cloud2.asc -c2c_dist -split_xyz -model HF SPHERE 50.0&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;cloud2.asc&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to cloud2 (&#039;&#039;reference&#039;&#039;) with a height function (&#039;&#039;quadric&#039;&#039;) computed on all the neighbors falling in a sphere of radius 50.0 around each point of &#039;&#039;cloud1&#039;&#039;. On output a file &#039;&#039;cloud1_C2C_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as first scalar field and the 3 components of the corresponding displacement vector along X, Y and Z as additional scalar fields).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cloud-to-mesh distance=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -o cloud1.bin -o mesh.obj -c2m_dist&amp;lt;/code&amp;gt;&lt;br /&gt;
CC will load &#039;&#039;cloud1.bin&#039;&#039; and &#039;&#039;mesh.obj&#039;&#039;, then compute the distance from cloud1 (&#039;&#039;compared&#039;&#039;) relatively to mesh (&#039;&#039;reference&#039;&#039;). On output a file &#039;&#039;cloud1_C2M_DIST_YYYY-MM-DD_HHhMM.bin&#039;&#039; will be generated (with the resulting distances as scalar field).&lt;br /&gt;
&lt;br /&gt;
Note: this cloud stays in memory and can be processed further (with -FILTER_SF for instance).&lt;br /&gt;
&lt;br /&gt;
=Cycling over files in a folder (Windows)=&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
set local EnableDelayedExpansion&amp;lt;br&amp;gt;&lt;br /&gt;
set Compared=C:\MY_FIRST_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
set Reference=E:\MY_SECOND_PATH&amp;lt;br&amp;gt;&lt;br /&gt;
for %%f in ( &amp;quot;%Reference%&amp;quot;\* ) do (&amp;quot;C:\Program Files\CloudCompare\cloudcompare.exe&amp;quot; -SILENT -C_EXPORT_FMT LAS -O %Compared%\%%~nxf -O %Reference%\%%~nxf -c2c_dist -MAX_DIST 1 -FILTER_SF 1 1 -SOR 8 2)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Bundler import=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -BUNDLER_IMPORT bundle.out -COLOR_DTM 1000000&amp;lt;/code&amp;gt;&lt;br /&gt;
This will generate all ortho-rectified versions of the images declared in &#039;bundle.out&#039;, as well as the colored vertices of a pseudo-DTM constructed from the keypoints.&lt;br /&gt;
&lt;br /&gt;
=(Mesh) format conversion=&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;CloudCompare -M_EXPORT_FMT FBX -FBX -EXPORT_FMT FBX_binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES&amp;lt;/code&amp;gt;&lt;br /&gt;
This will open the file named &#039;Foot.ply&#039; then save it in FBX binary format (same base filename, without any decoration: i.e. &#039;&#039;Foot.fbx&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=Toolbars_and_icons&amp;diff=47453</id>
		<title>Toolbars and icons</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=Toolbars_and_icons&amp;diff=47453"/>
		<updated>2024-02-13T19:25:54Z</updated>

		<summary type="html">&lt;p&gt;Daniel: /* 3D view toolbar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Icons in each toolbar are described from left to right.&lt;br /&gt;
&lt;br /&gt;
All toolbars are dockable elements that can be freely displaced, docked or let &#039;&#039;floating&#039;&#039; over the application window.&lt;br /&gt;
&lt;br /&gt;
= Main toolbar =&lt;br /&gt;
&amp;lt;span id=&amp;quot;main_toolbar&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Image:QCC_main_toolbar.jpg]]&lt;br /&gt;
* [[File:ccOpen_small.png]] [[Open]]&lt;br /&gt;
* [[File:ccSave_small.png]] [[Save]]&lt;br /&gt;
* [[Image:CcPointPicking_small.png]] [[Point Picking]] (point, segment, triangle or 2D area picking)&lt;br /&gt;
* [[Image:CcPointListPicking_small.png]] [[Point list picking]] (list of picked points exportable to a new cloud, polyline or file)&lt;br /&gt;
* [[Image:CcClone.png]] [[Clone]]&lt;br /&gt;
* [[Image:CcMerge.png]] [[Merge]]&lt;br /&gt;
* [[Image:CcSmallDelete.png]] Delete (selected entities)&lt;br /&gt;
* [[File:Cc_pointPairAlignIcon.png‎]] [[Align | Align (point pairs picking)]]&lt;br /&gt;
* [[File:CCRegisterIcon.png‎]] [[ICP | Fine registration (ICP)]]&lt;br /&gt;
* [[Image:CcSampleCloud.png]] [[Edit\Subsample | Subsample]] (cloud)&lt;br /&gt;
* [[File:CCSamplePointsIcon.png]] [[Mesh\Sample points | Sample points]] on a mesh&lt;br /&gt;
* [[File:CloudCloudDistanceIcon.png‎]] [[Cloud-to-Cloud_Distance | Cloud-to-Cloud distances]] computation&lt;br /&gt;
* [[File:CloudMeshDistanceIcon.png]] [[Cloud-to-Mesh Distance | Cloud-to-Mesh distances]] computation&lt;br /&gt;
* [[Image:CcCCExtract.png]] [[Label Connected Components | Connected components extraction]]&lt;br /&gt;
* [[File:DbMiscGeomSymbol.png]] [[Primitive Factory | Primitive factory]]&lt;br /&gt;
* [[Image:CcGrid_small.png]] [[Rasterize]] tool&lt;br /&gt;
* [[File:CCSegmentIcon.png]] [[Interactive Segmentation Tool | Interactive segmentation tool]]&lt;br /&gt;
* [[Image:CCMoveIcon.png]] [[Interactive Transformation Tool | Interactive transformation tool]]&lt;br /&gt;
* [[Image:CcClippingBox_small.png]] [[Cross Section | Cross Section tool]]&lt;br /&gt;
* [[Image:DbPolylineSymbol.png]] [[Extract Sections | Sections extraction tool]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Scalar fields toolbar =&lt;br /&gt;
&amp;lt;span id=&amp;quot;sf_toolbar&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Image:QCC_sf_toolbar.jpg]]&lt;br /&gt;
* [[Image:CcHistogram.png]] [[Scalar fields\Show histogram | Show the histogram]] of the active scalar field&lt;br /&gt;
* [[Image:CcComputeStat.png]] [[Scalar fields\Compute statistical parameters | Compute the statistical parameters]] of the active scalar field&lt;br /&gt;
* [[Image:CcFilterByValue.png]] [[Scalar fields\Filter by Value | Filter the points]] based on their associated scalar value&lt;br /&gt;
* [[Image:CcDeleteSF.png]] Deletes the active scalar field of the selected entities&lt;br /&gt;
* [[Image:CcSfArithmetic.png]] Perform [[Scalar fields\Arithmetic | arithmetic]] operations or apply standard functions on one (or two) scalar fields&lt;br /&gt;
* [[Image:TypeSF.png]] [[Scalar fields\Color Scales Manager | Color Scales Manager]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= OpenGL filters (shaders) toolbar =&lt;br /&gt;
&amp;lt;span id=&amp;quot;gl_filters_toolbar&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
The content of this toolbar depends on the detected/supported &amp;quot;shaders&amp;quot; plugins that have been successfully loaded at startup.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:QCC_gl_filters_toolbar.jpg]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Remove active OpenGL filter&lt;br /&gt;
* [[PluginBLUR | Blur]] (simple screen blurring - for demo)&lt;br /&gt;
* [[Plugin qEDL | E.D.L.]] (Eye Dome Lighting)&lt;br /&gt;
* [[Plugin qSSAO | S.S.A.O.]] (Screen Space Ambient Occlusion)&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
= Standard plugins toolbar =&lt;br /&gt;
&amp;lt;span id=&amp;quot;plugin_toolbars&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
The content of this toolbar depends on the detected/supported plugins that have been successfully loaded at startup.&lt;br /&gt;
&lt;br /&gt;
[[Image:QCC_plugins_toolbar.jpg]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* additional toolbars can be added by plugins with multiple methods (e.g. qPCL, qSRA, qCANUPO, etc.)&lt;br /&gt;
* see the [[Plugins | plugins]] list&lt;br /&gt;
&lt;br /&gt;
= 3D view toolbar =&lt;br /&gt;
&amp;lt;span id=&amp;quot;display_toolbar&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Image:QCC_display_toolbar.jpg]]&lt;br /&gt;
* [[Image:CcSettings.png]] [[Display\Display settings | Display settings]] (lights, materials, colors, etc.)&lt;br /&gt;
* [[Image:Camera.png]] [[Display\Camera settings | Camera settings]] (active 3D view)&lt;br /&gt;
* [[Image:CcGlobalZoom.png]] Full scene zoom (active 3D view)&lt;br /&gt;
* [[Image:CcPickCenter.png]]Pick a point as rotation center (active 3D view) - works also on meshes/triangles&lt;br /&gt;
* [[Image:CcPickCenterAuto.png]]Automatically pick a point as rotation center in the middle of the screen (active 3D view) - works also on meshes/triangles&lt;br /&gt;
* [[Image:CcOrthoMode_small.png]] Select [[Display modes | projection mode]] (orthographic / perspective)&lt;br /&gt;
* [[Image:CcPivotOn_small.png]] Set rotation symbol visibility&lt;br /&gt;
* [[Image:CcZoom.png]] Zoom (and center) on selected entities&lt;br /&gt;
* [[Image:CcViewZpos.png]] Set camera to top view&lt;br /&gt;
* [[Image:CcViewYpos.png]] Set camera to front view&lt;br /&gt;
* [[Image:CcViewXpos.png]] Set camera to left view&lt;br /&gt;
* [[Image:CcViewYneg.png]] Set camera to back view&lt;br /&gt;
* [[Image:CcViewXneg.png]] Set camera to right view&lt;br /&gt;
* [[Image:CcViewZneg.png]] Set camera to bottom view&lt;br /&gt;
* [[Image:CcViewIso1_small.png]] Set camera to iso view (front)&lt;br /&gt;
* [[Image:CcViewIso2_small.png]] Set camera to iso view (back)&lt;br /&gt;
* [[Image:CcStereo.png]] Enable [[Display modes | stereo (anaglyph) mode]]&lt;br /&gt;
&lt;br /&gt;
Note: this toolbar is situated on the left side by default.&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://www.cloudcompare.org/doc/wiki/index.php?title=File:CcPickCenterAuto.png&amp;diff=47452</id>
		<title>File:CcPickCenterAuto.png</title>
		<link rel="alternate" type="text/html" href="https://www.cloudcompare.org/doc/wiki/index.php?title=File:CcPickCenterAuto.png&amp;diff=47452"/>
		<updated>2024-02-13T19:25:05Z</updated>

		<summary type="html">&lt;p&gt;Daniel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
</feed>