Hminima extend with otsu and huang