Otsu's method

Otsu's method
An example image thresholded using Otsu's algorithm
Original image

In computer vision and image processing, Otsu's method is used to automatically perform histogram shape-based image thresholding,[1] or, the reduction of a graylevel image to a binary image. The algorithm assumes that the image to be thresholded contains two classes of pixels or bi-modal histogram (e.g. foreground and background) then calculates the optimum threshold separating those two classes so that their combined spread (intra-class variance) is minimal.[2] The extension of the original method to multi-level thresholding is referred to as the Multi Otsu method[3]. Otsu's method is named after Nobuyuki Otsu (大津展之 Ōtsu Nobuyuki?).

Contents

Method

In Otsu's method we exhaustively search for the threshold that minimizes the intra-class variance, defined as a weighted sum of variances of the two classes:

\sigma^2_w(t)=\omega_1(t)\sigma^2_1(t)+\omega_2(t)\sigma^2_2(t)

Weights ωi are the probabilities of the two classes separated by a threshold t and \sigma^2_ i variances of these classes.

Otsu shows that minimizing the intra-class variance is the same as maximizing inter-class variance:[2]

\sigma^2_b(t)=\sigma^2-\sigma^2_w(t)=\omega_1(t)\omega_2(t)\left[\mu_1(t)-\mu_2(t)\right]^2

which is expressed in terms of class probabilities ωi and class means μi.

The class probability ω1(t) is computed from the histogram as t:

\omega_1(t)=\Sigma_0^t p(i)

while the class mean μ1(t) is:

\mu_1(t)=\Sigma_0^t p(i)*x(i)

where x(i) is the value at the center of the ith histogram bin. Similarly, you can compute ω2(t) and μt on the right-hand side of the histogram for bins greater than t.

The class probabilities and class means can be computed iteratively. This idea yields an effective algorithm.

Algorithm

  1. Compute histogram and probabilities of each intensity level
  2. Set up initial ωi(0) and μi(0)
  3. Step through all possible thresholds t = 1 \ldots maximum intensity
    1. Update ωi and μi
    2. Compute \sigma^2_b(t)
  4. Desired threshold corresponds to the maximum \sigma^2_b(t)

References

  1. ^ M. Sezgin and B. Sankur (2003). "Survey over image thresholding techniques and quantitative performance evaluation". Journal of Electronic Imaging 13 (1): 146–165. doi:10.1117/1.1631315. 
  2. ^ a b Nobuyuki Otsu (1979). "A threshold selection method from gray-level histograms". IEEE Trans. Sys., Man., Cyber. 9 (1): 62–66. doi:10.1109/TSMC.1979.4310076. 
  3. ^ Ping-Sung Liao and Tse-Sheng Chen and Pau-Choo Chung (2001). "A Fast Algorithm for Multilevel Thresholding". J. Inf. Sci. Eng. 17 (5): 713–727. 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Ōtsu — Ōtsu, or Otsu, may refer to: Ōtsu, Shiga, Japan Ōtsu Station, a railway station on the Tōkaidō Main Line (Biwako Line) Ōtsu incident, an assassination attempt on Tsarevich Nicholas Alexandrovich of Russia (later Tsar Nicholas II) Ōtsu juku, the… …   Wikipedia

  • Otsu-Verfahren — Die Schwellwertverfahren sind eine Gruppe von Algorithmen zur Segmentierung digitaler Bilder. Segmentierung allgemein kann ein wichtiger Schritt zur Bildanalyse sein, beispielsweise um Objekte im Bild zu erkennen. Mit Hilfe von… …   Deutsch Wikipedia

  • Méthode d'Otsu — Exemple d une image seuillée par l algorithme d Otsu …   Wikipédia en Français

  • printmaking — /print may king/, n. the art or technique of making prints, esp. as practiced in engraving, etching, drypoint, woodcut or serigraphy. [1925 30; PRINT + MAKING] * * * Art form consisting of the production of images, usually on paper but… …   Universalium

  • Ōkami-san (novel series) — Ōkami san Cover of Ōkami san light novel first volume as published by ASCII Media Works オオカミさん …   Wikipedia

  • Binärisieren — Die Schwellwertverfahren sind eine Gruppe von Algorithmen zur Segmentierung digitaler Bilder. Segmentierung allgemein kann ein wichtiger Schritt zur Bildanalyse sein, beispielsweise um Objekte im Bild zu erkennen. Mit Hilfe von… …   Deutsch Wikipedia

  • Schwellenwertbestimmung — Die Schwellwertverfahren sind eine Gruppe von Algorithmen zur Segmentierung digitaler Bilder. Segmentierung allgemein kann ein wichtiger Schritt zur Bildanalyse sein, beispielsweise um Objekte im Bild zu erkennen. Mit Hilfe von… …   Deutsch Wikipedia

  • Schwellenwertverfahren — Die Schwellwertverfahren sind eine Gruppe von Algorithmen zur Segmentierung digitaler Bilder. Segmentierung allgemein kann ein wichtiger Schritt zur Bildanalyse sein, beispielsweise um Objekte im Bild zu erkennen. Mit Hilfe von… …   Deutsch Wikipedia

  • Schwellwert-Algorithmus — Die Schwellwertverfahren sind eine Gruppe von Algorithmen zur Segmentierung digitaler Bilder. Segmentierung allgemein kann ein wichtiger Schritt zur Bildanalyse sein, beispielsweise um Objekte im Bild zu erkennen. Mit Hilfe von… …   Deutsch Wikipedia

  • Schwellwert-Verfahren — Die Schwellwertverfahren sind eine Gruppe von Algorithmen zur Segmentierung digitaler Bilder. Segmentierung allgemein kann ein wichtiger Schritt zur Bildanalyse sein, beispielsweise um Objekte im Bild zu erkennen. Mit Hilfe von… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”