Controls the behaviour of vtol_extract_topology. More...
#include <vtol_extract_topology.h>
Public Member Functions | |
vtol_extract_topology_params & | set_smooth (unsigned s) |
vtol_extract_topology_params () | |
Construct with the default values for the parameters. | |
Public Attributes | |
unsigned | num_for_smooth |
The number of pixels used in smoothing. |
Controls the behaviour of vtol_extract_topology.
Definition at line 45 of file vtol_extract_topology.h.
vtol_extract_topology_params::vtol_extract_topology_params | ( | ) | [inline] |
Construct with the default values for the parameters.
The constructor does not take parameters by design. Use the explicit set_* functions to set the parameters you wish to change. This will make code more robust against changes to the code and parameter set, because we don't have a bunch of unnamed arguments to change or worry about.
Definition at line 70 of file vtol_extract_topology.h.
vtol_extract_topology_params& vtol_extract_topology_params::set_smooth | ( | unsigned | s | ) | [inline] |
Definition at line 59 of file vtol_extract_topology.h.
The number of pixels used in smoothing.
The edgel curves will be smoothed by fitting a line at each edgel point to the num_for_smooth neighbouring edgel points and projecting onto that line. A value of 0 means no smoothing will occur.
Default: 0 (no smoothing)
Definition at line 56 of file vtol_extract_topology.h.