Add MultilevelThresholding that segments the image into different region by otsu's method