A Maximum Likelihood Thresholding Method Considering the Effect of Mixels