Port zxing's HybridBinarizer, enable more debugging