Open amirshamaei opened 3 years ago
@amirshamaei Hi, sorry about the delayed response, Since I'm not familiar with CSI image, I need to take a look at a dataset, could you share it with me? It probably hard to integrate into a converter at this point if it requires many new functions to reestimate it. But at least I can show you how to use the python API to achieve your conversion.
@dvm-shlee Sorry for my delayed response, too :) absolutely, my colleague put a dataset in Zenodo (https://zenodo.org/record/3894651). The 30th set is CSI data (20200612_094625_lego_phantom_3_1_2/30/fid).
Everything is clear for conversation to nifti except affine matrix and region of interest. In the following you can find my solution, but it is just my understanding of Bruker "magic" black box; so, I would really happy to hear your idea and oponion.
Position of VOI: [16.45, 19.33, 0] Resolution of VOI : [25, 30, 2]
$PVM_VoxArrSize=( 1, 3 )
30 25 2
$PVM_VoxArrPosition=( 1, 3 )
-1.83466 1.45244 0
if I calculate everything in a right way, so How i can store them in nifti format? any suggestion? ** this post will be updated