Write the predict OSM Mat to image.