Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Image Transport Compressed issue for Depth Image - ROS Fuerte/Electric

Hi, I am using Depth Image for one of my applications, where I need to use compressed image transport for some server/client app. If I use param -> "_image_transport:=raw", everything works fine, but if I use "compressed" instead of "raw", then the depth values that I get are not similar.

I am using "/camera/depth/image_raw" topic and converting the image into "16UC1" format using cv_bridge. Then I access the depth values using a Mat and type "ushort".

Is there some issue with the format of image that I need to change for accessing the depth values for compressed image transport?

Thanks in advance! Sourav

Image Transport Compressed issue for Depth Image - ROS Fuerte/ElectricFuerte

Hi, I am using Depth Image for one of my applications, where I need to use compressed image transport for some server/client app. If I use param -> "_image_transport:=raw", everything works fine, but if I use "compressed" instead of "raw", then the depth values that I get are not similar.

I am using "/camera/depth/image_raw" topic and converting the image into "16UC1" format using cv_bridge. Then I access the depth values using a Mat and type "ushort".

Is there some issue with the format of image that I need to change for accessing the depth values for compressed image transport?

Thanks in advance! Sourav

Image Transport Compressed issue for Depth Image - ROS Fuerte

Hi, I am using Depth Image for one of my applications, where I need to use compressed image transport for some server/client app. If I use param -> "_image_transport:=raw", everything works fine, but if I use "compressed" instead of "raw", then the depth values that I get are not similar.

I am using "/camera/depth/image_raw" topic and converting the image into "16UC1" format using cv_bridge. Then I access the depth values using a Mat and type "ushort".

Is there some issue with the format of image that I need to change for accessing the depth values for compressed image transport?

PS: Also, if I try the the other topic "/camera/depth/image" and the corresponding format "32FC1", openni gives me an error: "[ERROR] [1369298821.818293734]: Compressed Image Transport - JPEG compression requires 8/16-bit color format (input format is: 32FC1)"

Thanks in advance! Sourav

Image Transport Compressed issue for Depth Image - ROS Fuerte

Hi, I am using Depth Image for one of my applications, where I need to use compressed image transport for some server/client app. If I use param -> "_image_transport:=raw", everything works fine, but if I use "compressed" instead of "raw", then the depth values that I get are not similar.

I am using "/camera/depth/image_raw" topic and converting the image into "16UC1" format using cv_bridge. Then I access the depth values using a Mat and type "ushort".

Is there some issue with the format of image that I need to change for accessing the depth values for compressed image transport?

PS: Also, if I try the the other topic "/camera/depth/image" and the corresponding format "32FC1", openni gives me an error: "[ERROR] [1369298821.818293734]: Compressed Image Transport - JPEG compression requires 8/16-bit color format (input format is: 32FC1)"

Thanks in advance! Sourav