[Pkg-exppsy-pymvpa] consult - Open no-header images

Michael Hanke michael.hanke at gmail.com
Fri Apr 4 15:50:21 UTC 2008

Hi Marco,

On Fri, Apr 04, 2008 at 12:18:51PM -0300, Marco Zanger wrote:
> Hi,
> I'm current having a problem trying to open nifti images I've created
> without a header. This image is a "mask" I created using mipav, and i need
> to open it though it has no header. any suggestion?
Not sure if I got you right. A nifti image without a header is actually
not a nifti image but simply a binary blob of digits in a file ;-)

I'm not familiar with mipav, but if you are sure that the file you have
is really a nifti image besides the missing header you could create a
matching header. FSL comes with 'fslcreatehd', nifti_tool has a -make_im
option that does the same. Of course you can also use PyNIfTI to
generate a matching header, given you know the dimensions and datatype
of the array.



GPG key:  1024D/3144BE0F Michael Hanke
ICQ: 48230050

More information about the Pkg-exppsy-pymvpa mailing list