Library or tools to operate on map matrix (occupancy grid)
Hi
I want to perform some operations on map (in the form of a 2D occupancy grid) -> like checking the number of cells covered by the field of view of camera, etc. Right now I am dealing with the map as a numpy
matrix and then performing operations on it.
The problem I am facing is that it's quite slow as the map matrix is quite big in my case (3000 x 4000) and even the camera field of view covers quite a lot of number of cells.
I tried using PyTorch tensors instead of numpy arrays and got some increase in speed.
Can anyone suggest me any other (if any) tool or library for my work?