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

LN_COLUMNAR_DIST:generates empty NIfTI files #101

Open
lixin12023 opened this issue Feb 13, 2025 · 2 comments
Open

LN_COLUMNAR_DIST:generates empty NIfTI files #101

lixin12023 opened this issue Feb 13, 2025 · 2 comments

Comments

@lixin12023
Copy link

I encountered an issue when using LN_COLUMNAR_DIST. After running the command, it generates empty NIfTI files despite no errors in the terminal output.

I have a NIfTI file with dimensions 656 × 219 × 10 × 240.
I created a layer file using the following command: LN_GROW_LAYERS -rim rim.nii -N 21 -vinc 400
Then, I extracted layers 7 to 9 as a mask. I generated a boundary file (line.nii).
I ran the following command to compute columnar distances: LN_COLUMNAR_DIST -layers rim_layers.nii -landmarks line.nii -Ncolumns 70 -vinc 400 -output columns.nii -verbose
However, both the intermediate and final output NIfTI files are empty.Since there are no error messages in the terminal, I am unsure what went wrong.Are there specific constraints or assumptions regarding the input dimensions or file contents that I might be missing?

Any help or suggestions would be greatly appreciated! Thanks in advance.

@layerfMRI
Copy link
Owner

Hi Li Xin,

Thanks for reaching out. Sorry for the trouble.

Could you share an example dataset so that I could try to run it and see where the problem is?

Maybe LN_3Dcolumns or LN2_GEODISTACE might be able to do the trick for your purpose too?

Best regards, renzo

@lixin12023
Copy link
Author

Thank you for your time and assistance.

To clarify, the data I am using is from the 7T example dataset you provided. The files necessary for the command to run, specifically rim_layers.nii and line.nii, are attached below for your reference.

I hope this helps in further diagnosing the issue. Please let me know if there is any additional information you need or if I can provide further clarification.

Thank you again for your support.

data.zip

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