-
Notifications
You must be signed in to change notification settings - Fork 4
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
--head Resampled image is misaligned with NAC. #18
Comments
Strange. Your NAC file name says |
SIRF sorry |
Perhaps because the resampled origin is set to be the same as the input origin? Usually, our radiographers will play around with the acquisition FOV, I'd have thought the resampled origin would not depend on the input. https://github.com/UCL/petmr-rd-tools/blob/master/lib/nmtools/MRAC.hpp#L692 |
I'm also getting
Which is an error I inserted, since I had made some assumptions about how the output size calculation should go. But is there a reason that the output shape isn't just set to 344*344*127? Although note this is probably unrelated, but potentially the same solution |
The solution I am hinting at is that perhaps the output size should be taken from the JSON specification in the beginning. As an added bonus, you could potentially in the future extend this so that you could supply a JSON file input with resampling parameters (I assume this was the original intent). |
Your assumption about the JSON is correct, I just haven't got round to it. (More than happy to accept a PR...) Yes, I would expect to get 344x344x127 with What do you mean when you say radiographer's play with the FOV, do you mean the MR acquisition or they retro recon. the PET with a zoom and/or offset? |
My input is 192x192x128. As I said, I think that STIR/SIRF handle z offsets, so long as the z resolution is acceptable (half the ring spacing?), so it /has/ worked for me (just not this time). I mean the MR acquisition, so it is not necessarily centered transaxially. So if the output transform is constant (identity) and the output size and spacing are parameters, that leaves the origin and the direction to be calculated. Origin Direction I am happy to make some changes, test and make a PR. The main issue at the moment though is that z-origin. Does this sound correct to you? |
Origin, yes, but I feel like the direction should come from the input. I deliberately chose RAI as the default because I believe this is what Siemens appear to uses in e7 tools. The reason for this is that (assuming everything goes fine) the output volume of |
Hi,
I have run a STIR non-attenuation corrected reconstruction on my data, and compared the output with
nm_mrac2mu
's umap output. It is misaligned in the y direction. Any suggestions/speculations as to what might be causing this?Cheers,
Ash
NB: If you click the images they will open in a new tab and you can cycle.
Look between the UTE and the NAC, since they are a similar scale the silly
colorbar
won't make the image move.The text was updated successfully, but these errors were encountered: