How does Iradon and radon work?

4 views (last 30 days)
hasan alhussaini
hasan alhussaini on 13 Sep 2017
Answered: Rik on 13 Sep 2017
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!

Answers (1)

Rik
Rik on 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.
For future reference: Have a read here and here. It will greatly improve your chances of getting an answer. (for example, most tags you provided are either non-applicable (matlab coder) or too general (help))

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!