Imagine we have an image. We\'ll represent this image as a simple 2D array where every pixel is a 1 or a 0.
The image you get is known to have potentially many distin