Improved binarization + result display