depth data to mat type
Hello, I am trying to display a depth image from a tof camera using imshow but I don't really know how to convert the depth data to a Mat image. My depth data is a 40000 element array (200x200) pixels.
If anyone could please help me it would be great, thank's in advance!
try to find out, how to acess the depth pixels and what format they are in(maybe: ushort in the [0..1024] range), then people can help you setting up the correct Mat constructor.