필터 지우기
필터 지우기

How does Iradon and radon work?

조회 수: 2 (최근 30일)
hasan alhussaini
hasan alhussaini 2017년 9월 13일
답변: Rik 2017년 9월 13일
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!

답변 (1개)

Rik
Rik 2017년 9월 13일
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!

Translated by