首页 > 解决方案 > matlab的氡变换中是否有默认的辐射强度?

问题描述

我正在做一些带有氡变换的简单实验室,我只是对一件事感到好奇。

我知道,氡变换函数将返回一个列,它是辐射强度的衰减。我正在寻找是否有默认的辐射强度来计算衰减,或者它只是简单地计算线性积分。

这是我的代码:

I = zeros(200, 200);
I(50:150, 50:150) = 1;
figure; imshow(I);  title('Original image');


[R, xp] = radon(I,[0, 45]);
figure; plot(xp, R(:, 1)); title('Radiance Intensity'); 

theta = 0:180;
[R1, xp1] = radon(I, theta);


figure; imagesc(theta, xp1, R1); colormap(hot); colorbar;
xlabel('{\theta} (degrees)'); ylabel('x{\prime}'); title('Sine figure');


I1 = iradon(R1, theta);

figure; imshow(I1);  title('Reconstructed image');

标签: matlab

解决方案


推荐阅读