-
Notifications
You must be signed in to change notification settings - Fork 191
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
16UC1 Format Support? #99
Comments
Have you tried The video server won't do min/max scaling of the intensities in the video though, so you may end up with a very dark stream. |
Have you solved the problem? I met the same problem. @5730289021-NN |
@liamabcxyz did you try |
Hi, @jveitchmichaelis Thanks for your reply! My goal is to display depth image("/camera/depth/image_rect_raw") on webpage. But I don't know how to change 16uc1 to mono16 directly. Thus, my current plan is to send sensor_msgs/Image.msg to webpage, use javascript to display the image. Thanks! I'm looking forward to your reply! |
@liamabcxyz This is set in Possibly modify it here: web_video_server/src/image_streamer.cpp Line 109 in dfc4bf0
e.g. add an additional condition to check for 16 bit images. Or, just rescale your 16-bit depth image to an 8-bit range.
see http://wiki.ros.org/cv_bridge/Tutorials/ConvertingBetweenROSImagesAndOpenCVImagesPython |
Hi, @jveitchmichaelis Thanks again! With your help, I write a node to convert 16uc1 to bgr8 with python. It works!
|
How was the latency with this approach? Have you by any change figured out how to decode 16UC1 messages sent from rosbridge? |
Hi, i also use a Realsense camera with the provided ros wrapper and also stumbled on this error message. I got the depth stream working by adjusting the image_streamer.cpp like mentioned by @jveitchmichaelis. Maybe this can be helpful for others :) |
encount error like this when using your decoding function :
As the data of this topic is stored as a list. |
Greeting everyone,
When I run Intel Realsense D435i on Ubuntu 18.04, I've got these message when I try to access to depth sensor data aka. /camera/depth/image_rect_raw
I'm not sure whether the 16UC1 support is implemented already.
Does anyone get this problem like this?
Thanks
The text was updated successfully, but these errors were encountered: