Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if input depth image is 32bit #29

Closed

Conversation

Projects
None yet
2 participants
@k-okada
Copy link
Contributor

commented Sep 12, 2014

the program only takes 32bit float depth image

      const float* depth_ptr = reinterpret_cast<const float*>(&depth_msg->data[0]);

(https://github.com/ros-perception/calibration/pull/29/files#diff-75cdd0871abdb10aff724cfb002ff367L130)

openni2_launch publishes camera/depth/image and camera/depth/image_raw and image is 32FC1, but mage_raw is 16UC1

@vrabaud vrabaud closed this in 2ede413 Sep 20, 2014

@vrabaud

This comment has been minimized.

Copy link
Contributor

commented Sep 20, 2014

Thx for the fix, I just rewrote it with "depth image" instead of "disparity image"

@k-okada k-okada deleted the k-okada:check_32bit_depth_image branch Sep 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.