Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STIR.ImageData.move_to_scanner_centre is too simple #1289

Open
KrisThielemans opened this issue Aug 30, 2024 · 0 comments
Open

STIR.ImageData.move_to_scanner_centre is too simple #1289

KrisThielemans opened this issue Aug 30, 2024 · 0 comments

Comments

@KrisThielemans
Copy link
Member

move_to_scanner_centre(const STIRAcquisitionData &)
{
this->_data->set_origin(CartesianCoordinate3D<float>{0.f,0.f,0.f});

This will only work if the image has the expected number of planes/z-voxel-size.

A proper solution needs UCL/STIR#618 though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant