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' )
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:
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:
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
What do you think about this ?