fixed publish of output image on a ros node