medium points of Radon transform on image
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!