How does Iradon and radon work?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I'm a beginner, I've got a sinogram attach, and i'm not sure what i'm doing wrong with the following code, the data projections have been collected over 180 degrees. 1 degree per projection;
theta=0:1:179;
[R,xp]= radon(sinog_2,theta);
Dtheta=1;
filt=input( 'Filter?\n 1 = Gen-Hamming; 2 = Shepp-Logan; 3 = Ramp; 4 = none ');
switch( filt)
case 1
m_out=iradon(R,Dtheta,'Hamming');
case 2
m_out=iradon(R,Dtheta,'Shepp-Logan');
case 3
m_out=iradon(R,Dtheta,'Ram-Lak');
case 4
m_out=iradon(R,Dtheta,'none');
i feel like it is incomplete...
any help would be amazing Thanks!
0 commentaires
Réponses (1)
Rik
le 13 Sep 2017
Dtheta shouldn't be just one angle. The theta you use in the radon function is the same you should use in iradon.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!