issue #1233 if using a blank image, substitute with an image whose value is 1 wherever there is an object (for color)