Method for reducing a binary image | AMiner