cars.applications.point_cloud_outliers_removing.small_components
this module contains the statistical points removing application class.
Module Contents
Classes
PointCloudOutliersRemoving |
Functions
|
Statistical outlier removing |
- class cars.applications.point_cloud_outliers_removing.small_components.SmallComponents(conf=None)
Bases:
cars.applications.point_cloud_outliers_removing.pc_out_removing.PointCloudOutliersRemoving
PointCloudOutliersRemoving
- check_conf(conf)
Check configuration
- Parameters
conf (dict) – configuration to check
- Returns
overloaded configuration
- Return type
dict
- get_method()
Get margins to use during point clouds fusion
- Returns
algorithm method
- Return type
string
- get_on_ground_margin()
Get margins to use during point clouds fusion
- Returns
margin
- Return type
float
- run(merged_points_cloud, orchestrator=None)
Run PointCloudOutliersRemoving application.
Creates a CarsDataset filled with new point cloud tiles.
- Parameters
merged_points_cloud (CarsDataset filled with pandas.DataFrame) –
merged point cloud. CarsDataset contains:
Z x W Delayed tiles. Each tile will be a future pandas DataFrame containing:
data : with keys : “x”, “y”, “z”, “corr_msk” optional: “clr”, “msk”, “data_valid”,”coord_epi_geom_i”, “coord_epi_geom_j”,”idx_im_epi” - attrs with keys: “epsg”
attributes containing “bounds”, “ysize”, “xsize”, “epsg”
orchestrator – orchestrator used
- Returns
filtered merged points cloud. CarsDataset contains:
Z x W Delayed tiles. Each tile will be a future pandas DataFrame containing:
data : with keys : “x”, “y”, “z”, “corr_msk” optional: “clr”, “msk”, “data_valid”,”coord_epi_geom_i”, “coord_epi_geom_j”,”idx_im_epi”
attrs with keys: “epsg”
attributes containing “bounds”, “ysize”, “xsize”, “epsg”
- Return type
CarsDataset filled with xr.Dataset
- cars.applications.point_cloud_outliers_removing.small_components.small_components_removing_wrapper(cloud, activated, connection_distance, nb_points_threshold, clusters_distance_threshold, saving_info=None)
Statistical outlier removing
- Parameters
cloud (pandas DataFrame) – cloud to filter
activated (bool) – true if filtering must be done
connection_distance (float) – connection distance
nb_points_threshold (int) –
clusters_distance_threshold (float) –
saving_info (dict) – saving infos
- Returns
filtered cloud
- Return type
pandas DataFrame