para2fan
Convert parallel-beam projections to fan-beam
Description
converts the parallel-beam data F
= para2fan(P
,D
)P
to the fan-beam data
F
. Each column of P
contains the parallel-beam
sensor samples at one rotation angle. D
is the distance from the
fan-beam vertex to the center of rotation.
The parallel-beam sensors are assumed to have a one-pixel spacing. The parallel-beam rotation angles are spaced equally to cover [0, 180] degrees. The calculated fan-beam rotation angles have the same spacing as the parallel-beam rotation angles, and cover [0,360) degrees. The calculated fan-beam angles are equally spaced with the spacing set to the smallest angle implied by the sensor spacing.
uses name-value arguments to control aspects of the data conversion.F
= para2fan(P
,D
,Name,Value
)
[
returns the fan-beam sensor locations in F
,fanSensorPos
,fanRotAngles
]
= para2fan(___)fanSensorPos
and rotation
angles in fanRotAngles
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced before R2006a