Image Processing Toolbox User's Guide |
Example: Reconstructing an Image from Parallel Projection Data
The commands below illustrate how to reconstruct an image from parallel projection data. The test image is the Shepp-Logan head phantom, which can be generated by the Image Processing Toolbox function phantom
. The phantom image illustrates many of the qualities that are found in real-world tomographic imaging of human heads. The bright elliptical shell along the exterior is analogous to a skull, and the many ellipses inside are analogous to brain features.
R1
has 18 projections, R2
has 36 projections, and R3
has 90 projections.
theta1 = 0:10:170; [R1,xp] = radon(P,theta1); theta2 = 0:5:175; [R2,xp] = radon(P,theta2); theta3 = 0:2:178; [R3,xp] = radon(P,theta3);
R3
, the transform with 90 projections.
Radon Transform of Head Phantom Using 90 Projections
I1
, which was reconstructed from only 18 projections, is the least accurate reconstruction. Image I2
, which was reconstructed from 36 projections, is better, but it is still not clear enough to discern clearly the small ellipses in the lower portion of the image. I3
, reconstructed using 90 projections, most closely resembles the original image. Notice that when the number of projections is relatively small (as in I1
and I2
), the reconstruction can include some artifacts from the back projection.
Inverse Radon Transforms of the Shepp-Logan Head Phantom
Inverse Radon Transform | Fan-Beam Projection Data |
© 1994-2005 The MathWorks, Inc.