comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Reading GE MRI data off 1/2" tapes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reading GE MRI data off 1/2" tapes [message #16743 is a reply to message #16732] Fri, 20 August 1999 00:00 Go to previous messageGo to previous message
David Clunie is currently offline  David Clunie
Messages: 2
Registered: January 1999
Junior Member
Hi Dave

It is a long time since I did this format, but the details
are documented by GE ... see the alt.image.medical FAQ at:

http://idt.net/~dclunie/medical-image-faq/html/

for details and document references, and my notes on the
subject.

Trying to get the files off the tape from within a program
is way hard ... much easier to use the unix command line
utilities to extract individual "files" separated by tape
marks, eg.

mt -f /dev/nrmt0 rewind
dd if=/dev/nrmt0 of=file1 ibs=8192
dd if=/dev/nrmt0 of=file2 ibs=8192
...

obviously one can script this until dd reports error or
the extracted size is zero, etc.

Note the block size ... from memory it is 8k on the GE
tapes but you may need to experiment. Also use the no
rewind device or you will keep getting the same file
over again :)

Once you have the files, you will need to decipher them. The
dicom3tools at my web site have various utilities to help
with this. I haven't used 3X or 4X format for a while so you
probably need the older tools, rather than the current work
in progress snapshot.

david

David Foster wrote:
>
> Problem:
>
> Cannot read General Electric Signa 3.x/4.x MRI data off
> 9-track 1/2" tapes.
>
> The program I am writing is in Fortran (historical reasons, of course);
> I have tried using the Sun f77 topen,tread... routines, but these are
> record-oriented and don't work in this case. I've tried opening the
> tape device with open(...,form='unformatted') and can read the first
> file on tape, the label. But I cannot seem to get past the first file
> marker (tried mt, tskip).
>
> These tapes seem to be in a "unique" format, as a third-party program
> that is used to read files off of these tapes (sorry, can't remember
> the name, the folks I'm consulting for tried using it) doesn't work
> with them.
>
> Any pointers, hints, or code, in *whatever* language, would be
> greatly appreciated. I am getting desperate, as this project's
> deadline has long since passed.
>
> I apologize if this is off-topic for this newsgroup; I'm trying to reach
> an audience that is most likely to have experience with reading MRI
> data off tapes. Not many of those posting to the Fortran newsgroups.
>
> Thanks!
>
> Dave Foster
>
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
> David Foster National Center for Microscopy and Imaging Research
> dfoster@ucsd.edu UCSD/Department of Neuroscience
> (858) 534-7968 http://www-ncmir.ucsd.edu/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~

--
David A. Clunie mailto:dclunie@idt.net
Director, Medical Imaging Technologies http://idt.net/~dclunie/
Quintiles Intelligent Imaging http://www.i2image.com/
521 Plymouth Rd #115 Work 610-238-0572 Fax -0578
Plymouth Meeting PA 19462 Home 570-897-7123 Fax -5117
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idl > memory problems
Next Topic: xmanager /no_block

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 14:07:11 PDT 2025

Total time taken to generate the page: 0.08107 seconds