Public Member Functions | |
def | __init__ |
def | connected_comonents |
27-connected components. | |
def | grid_to_points |
def | to_binary |
binarize the grid | |
Public Attributes | |
center | |
grid | |
grid_shape | |
resolution | |
size |
Definition at line 7 of file occupancy_grid.py.
def occupancy_grid.occupancy_grid_3d.__init__ | ( | self, | |
center, | |||
size, | |||
resolution, | |||
data, | |||
occupancy_threshold, | |||
to_binary = True |
|||
) |
resolution | - 3x1 matrix. size of each cell (in meters) along the different directions. |
Definition at line 12 of file occupancy_grid.py.
def occupancy_grid.occupancy_grid_3d.connected_comonents | ( | self, | |
threshold | |||
) |
27-connected components.
threshold | - min allowed size of connected component |
Definition at line 54 of file occupancy_grid.py.
def occupancy_grid.occupancy_grid_3d.grid_to_points | ( | self, | |
array = None |
|||
) |
array | - if not None then this will be used instead of self.grid |
Definition at line 37 of file occupancy_grid.py.
def occupancy_grid.occupancy_grid_3d.to_binary | ( | self, | |
occupancy_threshold | |||
) |
binarize the grid
occupancy_threshold | - voxels with occupancy less than this are set to zero. |
Definition at line 29 of file occupancy_grid.py.
Definition at line 12 of file occupancy_grid.py.
Definition at line 12 of file occupancy_grid.py.
Definition at line 12 of file occupancy_grid.py.
Definition at line 12 of file occupancy_grid.py.
Definition at line 12 of file occupancy_grid.py.