A binary image is an image that has only two gray levels and is usually a result of a segmentation or thresholding operation.