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

ASL Support #711

Open
pbbaba opened this issue Oct 6, 2023 · 1 comment
Open

ASL Support #711

pbbaba opened this issue Oct 6, 2023 · 1 comment

Comments

@pbbaba
Copy link

pbbaba commented Oct 6, 2023

Summary

Add additional information in SeqInfo to support ASL files. I am working with ASL(perf) files and require information such as In-Plane Phase Encoding Direction, Acquisition Number, Image Orientation (Patient) from the DICOM images to determine the names of the files.

Solution -

  1. Add the following in heudiconv/utils.py file:
  • image_orientation_patient
  • in_plane_phase_encoding_direction
  • acquisition_number
  1. Add the following in heudiconv/dicoms.py file:
  • in_plane_phase_encoding_direction = dcminfo.get("InPlanePhaseEncodingDirection") if dcminfo.get("InPlanePhaseEncodingDirection") else None,
  • acquisition_number = dcminfo.get("AcquisitionNumber") if dcminfo.get("AcquisitionNumber") else None,
  • image_orientation_patient = tuple(dcminfo.get('ImageOrientationPatient')) if dcminfo.get('ImageOrientationPatient') else ()
@tsalo
Copy link
Member

tsalo commented Jun 21, 2024

@pbbaba are you able to share the DICOMs? I'll be working on a new study with ASL data soon, and I want to ensure that heudiconv (and specifically the reproin heuristic) works on those data.

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

2 participants