Mat instance for representing contour image is added.