Image Processing Toolbox User's Guide Previous page   Next Page

Plotting the Radon Transform

You can compute the Radon transform of an image I for the angles specified in the vector theta using the radon function with this syntax.

The columns of R contain the Radon transform for each angle in theta. The vector xp contains the corresponding coordinates along the x´-axis. The center pixel of I is defined to be floor((size(I)+1)/2); this is the pixel on the x´-axis corresponding to .

The commands below compute and plot the Radon transform at 0° and 45° of an image containing a single square object. xp is the same for all projection angles.

Radon Transform of a Square Function at 0 Degrees

Radon Transform of a Square Function at 45 Degrees


Previous page  Radon Transform Viewing the Radon Transform as an Image Next page

© 1994-2005 The MathWorks, Inc.