If you have afni installed, run "dicom_hdr".  set stdout to a text file if you wish to save the info.  e.g.:

dicom_hdr file.dcm >> someoutput.txt

Once you know the info/fields you need, just pipe "dicom_hdr" with grep to select the info at hand for stdout, e.g.:

dicom_hdr file.dcm | grep "some field"

On Fri, Sep 4, 2009 at 8:48 AM, Moran Artzi <[log in to unmask]> wrote:
Thanks,
I'll try this

On Fri, Sep 4, 2009 at 4:30 PM, Xue, Feng <[log in to unmask]> wrote:
Yet another longer answer is mriconvert, it could be used windos/*nix,
please check the link below:
http://lcni.uoregon.edu/~jolinda/MRIConvert/

On Fri, Sep 4, 2009 at 6:46 PM, Andrew Janke<[log in to unmask]> wrote:
> Hi Moran,
>
> On Fri, Sep 4, 2009 at 20:37, Mark Jenkinson<[log in to unmask]> wrote:
>> The short answer is no.
>
> If you want a long(er) answer, I'd suggest something like dcmtk.
> (apt-get install dcmtk on ubuntu/debian) then you can do things like
> this to get the patient name:
>
>   $ dcmdump --search 0010,0010 file.dcm
>
> use dcmdump by itself to get an idea of dicom fields that you might
> have at your disposal in your DICOM files.
>
>
> --
> Andrew Janke
> ([log in to unmask] || http://a.janke.googlepages.com/)
> Canberra->Australia    +61 (402) 700 883
>



--
Best Regards


National Key Laboratory of Cognitive Neuroscience and Learning
Beijing Normal University
Beijing, China. 100875
Tel: +86-13810154455
web: http://psychbrain.bnu.edu.cn
==============================================
Welcome to MuDuo JinSheng BBS @ Beijing Normal University
telnet://bbs.mdjs.org
http://bbs.mdjs.org