binarization output capture