Hi can I advice _against_ using such an approach - JPEG is a lossy file format so whatever you read into matlab will not be the same as what you started with... best Christian On 12 Feb 2009, at 23:39, siamak wrote: > Hi, > > Another possibility is as follows: Open you nifti file in AFNI, then > save all the > slides in a format that is compatible to matlab, such as jpeg. > > Best, > Siamak _______________________________________________ Christian F. Beckmann, DPhil Senior Lecturer, Clinical Neuroscience Department Division of Neuroscience and Mental Health Imperial College London, Hammersmith Campus Rm 419, Burlington Danes Bldg, Du Cane Road, London W12 0NN, UK Tel.: +44 (0)20 7594 6685 --- Fax: +44 (0)20 7594 6548 Email: [log in to unmask] http://www.imperial.ac.uk/medicine/people/c.beckmann/ Senior Research Fellow, FMRIB Centre University of Oxford JR Hospital - Oxford OX3 9DU Tel.: +44 (0)1865 222551 --- Fax: +44 (0)1865 222717 Email: [log in to unmask] http://www.fmrib.ox.ac.uk/~beckmann