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

What should be input for z_prjs? #1

Open
loneblues opened this issue Sep 7, 2023 · 2 comments
Open

What should be input for z_prjs? #1

loneblues opened this issue Sep 7, 2023 · 2 comments

Comments

@loneblues
Copy link

Hello. I'm trying to test the code on some QSM data.
It seems that z_prjs is vector for B1 field, is it correct?
If so, how can I acquire such information from DICOM files?
Also for voxel size, can this code deal with interpolated data (such as zip2), where slice thickness is 1.2mm with 0.6mm overlapping areas between slices?

Thanks in advance.

Best
Ho-Joon Lee

@YangGaoUQ
Copy link
Collaborator

Hello. I'm trying to test the code on some QSM data. It seems that z_prjs is vector for B1 field, is it correct? If so, how can I acquire such information from DICOM files? Also for voxel size, can this code deal with interpolated data (such as zip2), where slice thickness is 1.2mm with 0.6mm overlapping areas between slices?

Thanks in advance.

Best Ho-Joon Lee

Hi Ho-Joon:

Yes, z_prjs is a 3-element vector that represents the FOV orientation relative to the main field. It can be easily calculated from the DICOM files.

As per the interpolated data, I assum the iQSM/iQSM+ codes should be all good, but we have not tried. :)

best,
Yang

@YangGaoUQ
Copy link
Collaborator

YangGaoUQ commented Apr 21, 2024

Hello. I'm trying to test the code on some QSM data. It seems that z_prjs is vector for B1 field, is it correct? If so, how can I acquire such information from DICOM files? Also for voxel size, can this code deal with interpolated data (such as zip2), where slice thickness is 1.2mm with 0.6mm overlapping areas between slices?

Thanks in advance.

Best Ho-Joon Lee

here are the codes:

suppose that you have read the dico_info from your dicom files with dicominfo.m (matlab func)
then:

% angles!!! (z projections)
Xz = dicom_info.ImageOrientationPatient(3);
Yz = dicom_info.ImageOrientationPatient(6);
Zz = sqrt(1 - Xz^2 - Yz^2);
Zxyz = cross(dicom_info.ImageOrientationPatient(1:3),dicom_info.ImageOrientationPatient(4:6));
Zz = Zxyz(3);
z_prjs = [Xz, Yz, Zz];

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