Why MATLAB function fan2para is not able to generate sinograms with odd number of views?

2 次查看(过去 30 天)
img = imread('example.jpg');
img = rgb2gray(img);
sino_fan = fanbeam(img, 538.52/0.710938, 'FanRotationIncrement', 360/1968, 'FanSensorGeometry', 'arc', ...
'FanSensorSpacing', (1.0239 * 912) / (946.746 * 2 * pi) * 360 / 912);
[sino_para, a, b] = fan2para(sino_fan, 538.52/0.710938, 'FanCoverage', 'cycle', 'FanRotationIncrement', 360/1968, ...
'FanSensorGeometry', 'arc', 'FanSensorSpacing', (1.0239 * 912) / (946.746 * 2 * pi) * 360 / 912, 'ParallelCoverage', 'cycle', ...
'ParallelRotationIncrement', 360/3, 'ParallelSensorSpacing', 1.0, 'Interpolation', 'pchip');
>> b
b =
0 180
For the above code, I am trying to convert the fan-beam sinogram to a 3-view parallel-beam sinogram with ParallelRotationIncrement 360/3 = 120 degrees. But it turns out that the increment is 180 degrees. Same thing happens to all odd number of view.
MATLAB version: '9.5.0.944444 (R2018b)'
Thank you.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by