medium points of Radon transform on image
Afficher commentaires plus anciens
How to calculate I looked at how the rotation does not change the results of the calculation for the medium point, but I have not found the same results! I do not know if my program is wrong or not? The program is simple:
image = imread('lena.bmp');
I=rgb2gray(image);
theta= 0:1:179;
[R,xp]= radon(I,theta);
[n,l]=size(R);
% calculate the medium point
n1=floor(n/2);
% take the medium points of original image
points=R(n1,1:1:180);
II=imrotate(I,2); % rotation de 2°
R_rotation= radon(II,theta);
% take the medium points after rotation
Points_après_rotation = R_rotation(n1,1:1:180);
thank you
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!