Otsu's method
Otsu's method
Main page
2015352

Otsu's method

logo
Community Hub0 subscribers
2015352

Otsu's method

logo
Community Hub0 subscribers
What are your thoughts?
Be the first to start a discussion here.
Be the first to start a discussion here.
Otsu's method

In computer vision and image processing, Otsu's method, named after Nobuyuki Otsu (大津展之, Ōtsu Nobuyuki), is used to perform automatic image thresholding. In the simplest form, the algorithm returns a single intensity threshold that separate pixels into two classes – foreground and background. This threshold is determined by minimizing intra-class intensity variance, or equivalently, by maximizing inter-class variance. Otsu's method is a one-dimensional discrete analogue of Fisher's discriminant analysis, is related to Jenks optimization method, and is equivalent to a globally optimal k-means performed on the intensity histogram. The extension to multi-level thresholding was described in the original paper, and computationally efficient implementations have since been proposed.

Let, be the normalised histogram of the pixels in an image (s.t. it becomes the probability distribution of pixel intensities) with bins. There are two classes of this histogram: for background pixels, and for foreground pixels. The primary disciminator of pixels (to assort them into classes) is the threshold . includes pixels from to , and includes from to .

The algorithm is then global search for an optimal threshold such that intra-class variance (variance of pixels intensities in or ) is minimised.

Let, denote the cumulative probability of , and denote of .For a classes and , the conditional probability of selecting the -th pixel in those classes is and respectively.

Now, let and be the mean (pixel intensity) of and respectively.

Similarly,

See all
User Avatar
No comments yet.