UCL / pet-rd-tools

Command line tools for PET-MR (pre-)processing
Apache License 2.0
13 stars 4 forks source link

--head option isn't guaranteed to resample to 344x344 #14

Open ashgillman opened 6 years ago

ashgillman commented 6 years ago

In fact, out MRAC acquisitions aren't the same size in x and y directions, so nm_mrac2mu actually produces different sizes in x and y, which is not compatible with certain aspects of STIR.

Sorry for repeating, I think I have mentioned this in a previous issue, but I am creating a new one to make a PR against :)

Ash

KrisThielemans commented 6 years ago

not sure which bits of STIR are failing with the size. it should disable symmetries in the projector, but will still work (with more memory). of course calculate_atenuation_coefficients still needs the --PMRT switch but I'm changing that (or have done it already?).

Note that we really need to add z-position info into STIR sinograms and then take it into account in images. Then hopefully most of this trouble will disappear.

ashgillman commented 6 years ago

In estimate_scatter.sh, rather zoom_att_image.sh. https://github.com/UCL/STIR/blob/master/scripts/zoom_att_image.sh

Perhaps this has been rectified and those checks can be removed?