From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating height matrix from kinect depth image

Hi,

 

We're trying to create a 2D image from the kinect depth image. Is there a VI which takes the kinect's depth image (640X480 cells when each cell represents the depth) and making a 2D matrix out of it (where X,Y are coordinates representing width and depth and the value is the height at the specific cell).

 

We're trying to create an obstacle-avoidance algorithm which differentiates between obstacles in different heights so we need to convert the depth image into a height matrix.

 

Thanks,

 

Rap Master

0 Kudos
Message 1 of 4
(2,528 Views)

Hi Rap_Master_T,

 

Are you trying to develop this VI or are you asking for helping finding one that has already been completed for you?  May I ask what the final application is for?  Could you please post some reference material for exactly what you're trying to do.

 

Thanks!

Bobby Breyer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,502 Views)

Hi Bobby,

 

We're asking for help finding such a VI. Our goal is to map an area and then navigate through it. Our robot can overcome obstacles (in certain height) so after the mapping our robot will need to decide whether it can pass  the obstacle or it has to go around it. Therefore, we need to know the height of the obstacles so we want to create a height map of the area we're mapping.

 

Is there such a VI?

 

We're attaching our code.(the relevant VI is called -"example")

 

0 Kudos
Message 3 of 4
(2,496 Views)

Hi Rap_Master_T,

 

I haven't found such a VI before ( www.ni.com/code ), so you may have to create it yourself.  If you can break what you're describing down into digestible chunks, you can repost each issue individually and we would be able to help you more effectively.

 

Regards,

Bobby Breyer
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,484 Views)