builfing on Ring Detection. Binarize thresholding on white