What is image thresholding, and how does Otsu's method work?

Technical