Open zqsha opened 11 months ago
Hi @zqsha ,
Thanks for opening this issue, and also writing how to solve it.
Can you tell us what are the spatial dimensions of your nifti file as well (e.g. 256x256x100 x 360)? You might be hitting a data type limit in LayNii during loading the file into RAM (note that this can be independent of how much RAM you have available in your computer) but we need to know how many voxels you have in your nifti first. If this is the case (which sounds like it is from your solution but we need to be sure), we can increase it.
Hi expert,
Thanks for your feedback. The image resolution is 0.8mm0.8mm0.8mm*360volumes. Yes, I agree I might touch the upper limit of data type. Do you have any thoughts on it? If you need any information from my side, please let me know.
Best, Cain
Sorry, maybe it was unclear, I am asking about the size of the data array, not voxel dimensions. 0.8 mm is the voxel dimension, I asking about how many voxels are there along x, y, z axes (256 × 256 × 256 voxels that are of dimension 0.8 mm × 0.8 mm × 0.8 mm).
Sorry for reporting the incorrect information. I just now checked that the size of data array is 240 x 240 x 136. Hopefully, it's clearer this time. Thank you so much. Best, Cain
Thanks for the information, we will look into this problem but as you already have a workaround solution it will not be high priority in our list.
Yes, I figured it out. Thank you so much for your feedback. If you have any updates about this LN_BOCO function, please let me know, and then I will download the up-to-date version of Laynii.
Cool. If there is anything new, I will post to this conversation. You should get a notification in this way automatically.
Hi experts, Recently, I used LN_BOCO to do BOLD correction. Basically, I have a BOLD.nii with 360 volumes and a Nulled.nii with 360 volumes. Then, I used the following command line to do BOLD correction.
There is an output file, called
test_VASO_LN.nii
. Even though thistest_VASO.LN.nii
contained 360 volumes, each image was null. So, I checked each image from Nulled.nii and BOLD.nii, and everything is fine. So, I tried to splitNulled.nii
into two parts, with each having 180 volumes. I also did it for BOLD.nii. And then I separately performed BOLD correction for two parts of images, and everything works very well. My question is why the file with 360 volumes can not run BOLD correction withLN_BOCO
. Is there any reason? I noticed that our server has 300GB RAM, so it's good enough to load theBOLD.nii
(about 11GB). Is there any memory limit forLN_BOCO
function?Thanks, Cain