Class containing a set of parameters for the mesh filtration functionality. More...
Functions | |
None | set (self, filter=MESH_FILTER.LOW) |
Set the filtering intensity. More... | |
bool | save (self, str filename) |
Saves the current set of parameters into a file to be reloaded with the load() method. More... | |
bool | load (self, str filename) |
Loads a set of parameters from the values contained in a previously saved file. More... | |
Class containing a set of parameters for the mesh filtration functionality.
The default constructor sets all parameters to their default settings.
None set | ( | self, | |
filter = MESH_FILTER.LOW |
|||
) |
Set the filtering intensity.
filter | : Desired sl.MESH_FILTER. |
Referenced by CalibrationParameters.left_cam(), CalibrationParameters.right_cam(), and SensorParameters.set_sensor_range().
bool save | ( | self, | |
str | filename | ||
) |
Saves the current set of parameters into a file to be reloaded with the load() method.
filename | : Name of the file which will be created to store the parameters. |
bool load | ( | self, | |
str | filename | ||
) |
Loads a set of parameters from the values contained in a previously saved file.
filename | : Path to the file from which the parameters will be loaded. |