pieye / nimbus-python

nimbus python bindings
GNU General Public License v3.0
3 stars 3 forks source link

Definition of x,y,z #2

Closed jora-blum closed 3 years ago

jora-blum commented 4 years ago

The documents state that the values for x,y,z form a 3D point cloud. But x and y are themselves a 2D array and not a 1D vector. How can I get the 3D point cloud?

Coimbra1984 commented 4 years ago

The 3D imager has a resolution of 352*286 active pixels. This shape is represented in the vector shape of x, y and z arrays. Nevertheless the 3D point cloud are these x, y and z arrays. You can flatten the arrays, if you wish to (x.flatten(), y.flatten(), z.flatten())