Cannot view 32FC1 image on /camera/depth/image_rect
pirobot opened this issue · comments
I thought I would be able to view the 32FC1 image on the /camera/depth/image_rect topic since it can be viewed as a greyscale depth image using image_view. But instead I get a blank screen when pointing my browser to:
http://localhost:8080/?topic=/camera/depth/image_rect
Setting the image topic to /camera/rgb/image_color works fine so my basic connectivity to mjpeg_server seems to be OK.
Looks like image_view
is converting this correctly but mjpeg_server has no convert function for it yet.
Depth images will need a maximum value specified in order to convert to grayscale, so that argument would probably need to be added to the URL.
The new web_video_server package (http://wiki.ros.org/web_video_server) supports mjpeg streams handles 32FC1 images like image_view does
Awesome! Just gave web_video_server a try with an Asus Xtion Pro and openni2 and it works like a charm. Thanks!