-
Notifications
You must be signed in to change notification settings - Fork 1
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
dicom order #9
Comments
Hi Michael, I've tweaked the code to sort based on Kind regards, Ben |
I'm 99% sure the Dicom standard for PET says that they should be sorted on ImageIndex. The coordinates fo the slices are then determined by the cross-product of the 2 ImageOrientationPatient vectors if memory serves me right. Of course, I don't know if the GE MRAC files follow the PET DICOM standard, but this particular thing might be common to other modalities. |
Thanks The dicom-sort branch does now sort the images, but the head is upside down. I'm happy to test any further modifications, but I'm not sure if I'll be doing anything useful with the code, since the GE MRAC are not particularly compatible with the resolute scheme - There is:
plotting the joint histogram, as far as I can tell, the bone does not look as neatly separated from the rest of the tissue as it appears on the Siemens, so I think it would be a bit of effort to get it to work nicely. I'm open to persuasion though. The standard AC method for the head is going to be updated with the next software release (whenever that happens), so will be interesting to see what that is like. |
* Sort by image number for #9 * Disable ccache
Hi
I'm using images from a GE scanner, just to see how it works. The scanner exports dicom Images as individual 2D slices. The resolute program looks to be reading them ok, but the slices seem to be sorted purely by filename.
However, the slice ordering of my dicoms is not consistent ( dicom0001 may be slice 15, dicom0002 is slice 89 etc)
Because the slice ordering of the dicoms is not the same across the two echoes, I got an error message
Description: itk::ERROR: ResoluteImageFilter(0x2beadd0): Inputs do not occupy the same physical space!
I named the files to have consistent filenames according to the slice number, which did then run without displayed errors.
However, I had numbered them as 1 (top of head) to 120 neck, and found that resolute created an upside down image, with resulting terrible spatial normalisation / segmentation.
Having renamed the files again to go from 1 (neck) to 120 top of head, the image is the right way round, and the result does look sensible
I think this non sequential dicom is not unusual, so ideally, the code would be altered to sort the dicom slices according to their z axis location before further processing.
Best wishes
Michael
The text was updated successfully, but these errors were encountered: