The Shepp-Logan phantom is often used in 2-D and 3-D reconstruction literature to present the quality of reconstruction algorithms. In Matlab the 2-D version of the phantom can be used as follows for creating a 200 x 200 image:

  1. I = phantom(200);
  2. figure, imshow(I,[]);

results into the following image:

Matlab 2-D Shepp-Logan Phantom

Matlab 2-D Shepp-Logan Phantom

The 3-D version of the phantom is not shipped with Matlab. However, Matthias Schabel provides us with some nice code at Matlab Central. The function phantom3D is used similarly to the 2-D version. To give you an impression I have prepared a youtube video of the volume rendering and MPR-views of the created 200 x 200 x 200 volume: