Introduction - If you have any usage issues, please Google them yourself
Using matlab implementation otsu global binarization algorithm, kittler minimum classification error (minimum error thresholding) the global binarization algorithm, niblack Local Binary Algorithm