In this chapter, you will need the following:

- In Exercise 1:
You need images to run the Ising model. You can find here the file nancy.mat. It contains a good 64 × 64 image I to use for
the Ising exercise because it has strong black and white areas. You can also find here the cow/tree image (as a MatLab .m file).
Some rather generic Gibbs sampler/Metropolis code is available here.

- In Exercise 9:
You need the images of six textures (all are given as .mat files): water, straw, pebbles, clouds, bark and fur.