Parameters corrected in order to segment different types of images.