<< imlogpolar Image Transforms Image Types and Color Space Conversions >>

IPCV - Image Processing and Computer Vision Toolbox for Scilab >> Image Transforms > imradon

imradon

Calculates the 2D-Radon transform of the matrix

Syntax

[RT,xp] = imradon (I,theta)

Parameters

I :

Image matrix in Scilab

theta :

Angles for calculating radon tansform

RT :

Matrix of the Radon transform for one of the angles in theta.

xp :

Radial coordinates corresponding to each row of RT.

Description

Calculates the 2D-Radon transform of the matrix I at angles given in THETA. To each element of THETA corresponds a column in RT. The variable XP represents the x-axis of the rotated coordinate. If THETA is not defined, then 0:179 is assumed.

Examples

I = zeros(100,100);
I(25:75, 25:75) = 1;
[RT,xp] = imradon(I);
imshow(RT,hotcolormap(64));

See also

Authors


Report an issue
<< imlogpolar Image Transforms Image Types and Color Space Conversions >>