You can find such a node in the android repository at rosjava.googlecode.com. The package is 'compressed_visualization_transport'. We don't use the image_transport though because maps have additional meta data such as origin and a resolution. Instead we use our own message.
Lorenz ( 2012-02-21 04:01:43 -0500 )editVery nice, that looks better than my image_transport approach, which admittedly is a bit hacky :) I'll upload my map_to_image node later, but I'd recommend to start from 'compressed_visualization_transport' as it actually supports advantageous encoding schemes.
Stefan Kohlbrecher ( 2012-02-21 05:51:12 -0500 )editUploaded my image_transport based node here: http://code.google.com/p/tu-darmstadt-ros-pkg/source/browse/#svn%2Ftrunk%2Fhector_slam%2Fhector_compressed_map_transport
Stefan Kohlbrecher ( 2012-02-22 03:00:23 -0500 )editI added some documentation here: http://www.ros.org/wiki/hector_compressed_map_transport
Stefan Kohlbrecher ( 2012-02-23 02:01:51 -0500 )edit