medium points of Radon transform on image
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!