geo3d.rasters.blocks¶
Classes¶
Base class for all pipeline blocks. |
|
EPT reader block. |
|
LAS reader block. |
|
Noise removal block. |
|
Above ground filter block. |
|
GDAL raster writer block. |
Module Contents¶
- class geo3d.rasters.blocks.PipelineBlock¶
Bases:
abc.ABCBase class for all pipeline blocks.
- class geo3d.rasters.blocks.EPTReaderBlock(filename: str, resolution: float | None = None, bounds: str | None = None, token: str | None = None)¶
Bases:
PipelineBlockEPT reader block.
It reads an EPT file and optionally applies bounds to crop. It can use a token to access the file.
- filename¶
- resolution = None¶
- bounds = None¶
- token = None¶
- class geo3d.rasters.blocks.LASReaderBlock(filename: str, bounds: str | None = None)¶
Bases:
PipelineBlockLAS reader block.
It reads the LAS file and optionally applies bounds to crop it.
- filename¶
- bounds = None¶
- class geo3d.rasters.blocks.NoiseRemovalBlock(mean_k: int, multiplier: float)¶
Bases:
PipelineBlockNoise removal block.
Noise removal is done using a statistical outlier filter. Noise points which are given the class 7 are removed from the point cloud.
- mean_k¶
- multiplier¶
- class geo3d.rasters.blocks.AboveGroundFilterBlock(height_threshold: float)¶
Bases:
PipelineBlockAbove ground filter block.
First, ground is detected using an SMRF filter (with default paremeters). Then, a ‘Height Above Ground Nearest Neighbor’ filter is applied to create a normalized height values in a dimension called ‘HeightAboveGround’. Last, A ranger filter is applied to remove points abouve a normalized height.
- height_threshold¶
- class geo3d.rasters.blocks.GdalWriterBlock(filename: str, resolution: float, window_size: float | None = None)¶
Bases:
PipelineBlockGDAL raster writer block.
The raster is created from an input point cloud and represents a dataset of different statistics. In this block we compute the ‘min’ and ‘max’ statistics that will be used to a correct height range.
- filename¶
- resolution¶
- window_size = None¶