[Insight-users] How to read/write multiple images
Ron Inbar
ron@mediguide.co.il
Wed, 12 Mar 2003 17:43:03 +0200
Hi Luis,
Does this mean the FilePrefix and FilePattern are currently meaningless?
Does it matter if I specify the LargestPossibleRegion or the RequestedRegion
for the Output of the ImageFileReader?
Ron
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
> Sent: Wednesday, March 12, 2003 5:16 PM
> To: Ron Inbar
> Cc: insight-users@public.kitware.com
> Subject: Re: [Insight-users] How to read/write multiple images
>
> Hi Ron,
>
> I assume that you are thinking on volume data
> stored as one slice per file, like Dicom.
>
> There is some work in progress for implementing
> a Series reader.
>
> In the meantime the simples way to read series
> is to create a MetaImage header for them.
>
> The header specifies the image size, spacing,
> origin and the filenames of the slices. The range
> of files to be read is defined implicitly here
> by selecting the filenames of the slices.
>
> You pass this .mha text header to the
> ImageFileReader and it will take care of the
> rest.
>
> A nice help for creating MetaImage headers is to
> use the "MetaImageImporter" application in available
> in InsightApplications.
>
> Given that the header is just a plain ascii text
> file, another easy way to get it done is to take
> a header from another image and edit it with any
> text editor.
>
> The Series file reader will offer a much better
> interface once it becomes available.
>
> Please let us know if you have other questions.
>
>
> Thanks
>
>
> Luis
>
>
> ---------------------------
>
>
> Ron Inbar wrote:
> > Hi,
> >
> >
> >
> > I know that the ImageFileReader can read multiple files using the
> > FilePrefix and FilePattern.
> >
> > My question is: how to set the range of files to be read?
> >
> >
> >
> > Ron
> >
> >
> >
> > **
> > **
> > *This e-mail message has been sent by MediGuide*
> > *and is for the use of the intended recipients only.
> > The message may contain privileged or confidential information .
> > If you are not the intended recipient you are hereby notified that any
> use,
> > distribution or copying of this communication is strictly prohibited,
> > and you are requested to delete the e-mail and any attachments*
> > *and notify the sender immediately.*
>
>
This e-mail message has been sent by MediGuide
and is for the use of the intended recipients only.
The message may contain privileged or confidential information .
If you are not the intended recipient you are hereby notified that any use,
distribution or copying of this communication is strictly prohibited,
and you are requested to delete the e-mail and any attachments
and notify the sender immediately.