Skip to main content

Image Analysis

  • Chapter
  • First Online:
Bayesian Essentials with R

Part of the book series: Springer Texts in Statistics ((STS))

  • 177k Accesses

Abstract

This final chapter covers the analysis of pixelized images through Markov random field models, towards pattern detection and image correction. We start with the statistical analysis of Markov random fields, which are extensions of Markov chains to the spatial domain, as they are instrumental in this chapter. This is also the perfect opportunity to cover the ABC method, as these models do not allow for a closed form likelihood. Image analysis has been a very active area for both Bayesian statistics and computational methods in the past 30 years, so we feel it well deserves a chapter of its own for its specific features.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Taken from Gaetan and Guyon (2010), kindly provided by the authors.

  2. 2.

    Wikipedia: “Carex is a genus of plants in the family Cyperaceae, commonly known as sedges. Most (but not all) sedges are found in wetlands, where they are often the dominant vegetation.” Laîche is the French for sedge.

  3. 3.

    We will indiscriminately use site and pixel in the remainder of the chapter.

  4. 4.

    This dependence immediately forces the neighbourhood relation to be symmetric.

  5. 5.

    It is no surprise that computational techniques such as the Gibbs sampler stemmed from this area, as the use of conditional distributions is deeply ingrained in the imaging community.

  6. 6.

    For those that do not want nor do not need to worry, the end of this section can be skipped, it being of a more theoretical nature and not used in the rest of the chapter.

  7. 7.

    This representation is by no means limited to MRFs: it holds for every joint distribution such that the full conditionals never cancel. It is called the Hammersley–Clifford theorem, and a two-dimensional version of it was introduced in Exercise 3.10.

  8. 8.

    The very name “Gibbs sampling” was proposed in reference to Gibbs random fields, related to the physicist Willard Gibbs. Interestingly, both of the major MCMC algorithms are thus named after physicists and were originally developed for problems that were beyond the boundaries of (standard) statistical inference.

  9. 9.

    In fact, there exists a critical value of β, β c = 2.269185 in the case of the four neighbor relation, such that, when β > β c , the Markov chain converges to one of two different stationary distributions, depending on the starting point. In other words, the chain is no longer irreducible. In particle physics, this phenomenon is called phase transition.

  10. 10.

    Similar to the Ising model mentioned in Footnote 9, there also exist a phase transition phenomenon and a critical value for β in this model.

  11. 11.

    The upper bound on β in the above prior is chosen for a very precise reason: As mentioned in the previous footnotes, when \(\beta \geq 2\), the Potts model associated with a four-neighbor relation is almost surely concentrated on single-color images. It is thus pointless to consider larger values of β.

  12. 12.

    Note that, for Laichedata, it is possible to wait for the equality S(x) = S(y) with a sufficiently high probability. In that case, since S is a sufficient statistic, we are simulating from the exact posterior.

  13. 13.

    The setting of Markov random fields like the Ising and the Potts models is an exception in that it allows for a sufficient statistic, while being intractable via classical approaches.

  14. 14.

    Besides image segmentation, another typical illustration of such structures is character recognition where a machine scans handwritten documents, e.g., envelopes, and must infer a sequence of symbols (i.e., numbers or letters) from digitized pictures. Hastie et al. (2001) provide an illustration of this problem.

References

  • Besag, J. (1974). Spatial interaction and the statistical analysis of lattice systems. J. Royal Statist. Soc. Series B, 36:192–326. With discussion.

    Google Scholar 

  • Chen, M., Shao, Q., and Ibrahim, J. (2000). Monte Carlo Methods in Bayesian Computation. Springer-Verlag, New York.

    Book  MATH  Google Scholar 

  • Cressie, N. (1993). Statistics for Spatial Data. John Wiley, New York.

    Google Scholar 

  • Gaetan, C. and Guyon, X. (2010). Spatial Statistics and Modeling. Springer-Verlag, New York.

    Book  MATH  Google Scholar 

  • Hastie, T., Tibshirani, R., and Friedman, J. (2001). The Elements of Statistical Learning. Springer-Verlag, New York.

    Book  MATH  Google Scholar 

  • Hurn, M., Husby, O., and Rue, H. (2003). A Tutorial on Image Analysis. In Møller, J., editor, Spatial Statistics and Computational Methods, volume 173 of Lecture Notes in Statistics, pages 87–141. Springer-Verlag, New York.

    Google Scholar 

  • Liu, J. (1996). Peskun’s theorem and a modified discrete-state Gibbs sampler. Biometrika, 83:681–682.

    Article  MathSciNet  MATH  Google Scholar 

  • Møller, J., Pettitt, A. N., Reeves, R., and Berthelsen, K. K. (June 2006). An efficient markov chain monte carlo method for distributions with intractable normalising constants. Biometrika, 93(2):451–458.

    Article  MathSciNet  Google Scholar 

  • Pritchard, J., Seielstad, M., Perez-Lezaun, A., and Feldman, M. (1999). Population growth of human Y chromosomes: a study of Y chromosome microsatellites. Mol. Biol. Evol., 16:1791–1798.

    Article  Google Scholar 

  • Ripley, B. (1988). Statistical Inference for Spatial Processes. Cambridge University Press, Cambridge.

    Book  Google Scholar 

  • Robert, C. and Casella, G. (2004). Monte Carlo Statistical Methods. Springer-Verlag, New York, second edition.

    Google Scholar 

  • Robert, C. and Casella, G. (2009). Introducing Monte Carlo Methods with R. Use R! Springer-Verlag, New York.

    Google Scholar 

  • Rue, H. and Held, L. (2005). Gaussian Markov Random Fields: Theory and Applications, volume 104 of Monographs on Statistics and Applied Probability. Chapman & Hall, London.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Science+Business Media New York

About this chapter

Cite this chapter

Marin, JM., Robert, C.P. (2014). Image Analysis. In: Bayesian Essentials with R. Springer Texts in Statistics. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8687-9_8

Download citation

Publish with us

Policies and ethics