Added binarization, not calibrated yet