Skip to content

create_projdata_template with span=2 can give wrong num_axial_positions #1467

@KrisThielemans

Description

@KrisThielemans

template_sino=my_DSTE_3D_rd3_template.hs
cat > my_input.txt <<EOF
Discovery STE
1
n
0
2

create a DSTE with span=2 (as default for GE scanners) with max_ring_diff=2. This results in

matrix axis label [4] := segment
!matrix size [4] := 3
matrix axis label [2] := axial coordinate
!matrix size [2] := { 43,47,43}
minimum ring difference per segment := { -2,-1,2}
maximum ring difference per segment := { -2,1,2}

However, the scanner has 24 rings, so the first and last number of axial coordinates are too large. (They are appropriate for max_rd=3 I guess), and in fact should be even, resulting in a warning of a half-ring shift in the m coordinate.

This is probably an old bug, but I spotted the warning about the shift when debugging FBP3DRP in #1464

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions