How does Iradon and radon work?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!