H value calculated for thresholding method