chaowang15/RGBDPlaneDetection

How can I get the depth image into 16uc1 format?

exnx opened this issue · 4 comments

exnx commented

Hi, I'm generating depth map images in .png from an Intel Realsense camera, but I can't seem to get the format to match the 16uc1 format. I originally had a uint8 format, did anybody else have issue getting the format correctly, or have advice how to ensure the data type is right? Is this a format that has to be created using C++ only? I was trying to do data streaming and processing using Python just to save the depth images, and then run the PlaneDetection code.

Thanks!

Eric

@exnx could u tell how u ran below command for sample images
./RGBDPlaneDetection -o pic/frame-000000.color.jpg ../pic/frame-000000.depth.png ../pic

i am facing RGBDPlaneDetection: command not found error

@exnx could u tell how u ran below command for sample images
./RGBDPlaneDetection -o pic/frame-000000.color.jpg ../pic/frame-000000.depth.png ../pic

i am facing RGBDPlaneDetection: command not found error

I think you need to cd build and then ./RGBDPlaneDetection -o pic/frame-000000.color.jpg ../pic/frame-000000.depth.png ../pic

Impressed by the ideas presented - something i had been tinkering with but wasn't able to succeed at - the line constraints are the magic for me.

We run a few different Real Sense Devices - what is the status of being able to use real sense devices? We have L515 and D455 units - both are surprisingly high quality at shorter distances - I'd be happy to contribute or help make the necessary changes to bring this code base to the RS units - it would be a big win for a large number of people.