cars.applications.point_cloud_outliers_removing.statistical
this module contains the statistical points removing application class.
Module Contents
Classes
PointCloudOutliersRemoving |
Functions
|
Statistical outlier removing |
- class cars.applications.point_cloud_outliers_removing.statistical.Statistical(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
- 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”
:rtype : CarsDataset filled with xr.Dataset
- cars.applications.point_cloud_outliers_removing.statistical.statistical_removing_wrapper(cloud, activated, statistical_k, std_dev_factor, saving_info=None)
Statistical outlier removing
- Parameters
cloud (pandas DataFrame) – cloud to filter
activated (bool) – true if filtering must be done
statistical_k (float) – k
std_dev_factor (float) – std factor
saving_info (dict) – saving infos
- Returns
filtered cloud
- Return type
pandas DataFrame