brainvisa / aims-free

Analysis of Images and Signal for neuroimaging
Other
6 stars 3 forks source link

Conversion of 3D volumes in 2D formats series consistency may be improved #11

Open denisri opened 5 years ago

denisri commented 5 years ago

Author Name: Souedet, Nicolas (@nsouedet) Original Redmine Issue: 13739, https://bioproj.extra.cea.fr/redmine/issues/13739 Original Date: 2015-11-05


I use a process that can convert a 3D volume to a series of 2D images using AimsFileConvert:

'AimsFileConvert' '-i' 'mri.dcm' '-o' 'mri.png' '-t' 'S16'

It works well and generates a serie of files named mri_0000.png to mri_0035.png (if the volume contains 36 slices) Then my process has to read the volume. For example:

from soma.aims import read
data = read( 'mri_0000.png' )

Actually it is necessary to give an existing file name of the png serie to be able to read the volume. But I think that it could be interesting to be able to read the volume using the name without any slice number: mri.png

from soma.aims import read
data = read( 'mri.png' )

What do you think about this ?

sapetnioc commented 1 year ago

No activity on this issue for a long time, any opposition to close it ?