transformation_utility module

class transformation_utility.Lidar_Transformation(df: Optional[GeoDataFrame] = None, filepath: str = '')

Bases: object

decimation(points: list = [], factor: int = 160)

Sampling with decimation function

Args:

points (Dataframe): GeoDataframe of the point cloud data

Returns:

list: Decimated points list

grid_subsampling(points: list = [], voxel_size: int = 6)

Grid subampling of the geodataframe using barycenter grid

Args:

points (Dataframe): GeoDataframe of the point cloud data voxel_size (Int): voxel size for sub sampling

Returns:

list: List of point clouds