Need to write new union find algorithm for blue pixels after binarization