A small tool that retrieves the grayscale sub-image of a larger image