[Insight-users] GaussianFilter
Samuel Rodríguez Bescos
srodrigu@gbt.tfo.upm.es
Fri, 26 Apr 2002 15:45:20 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0076_01C1ED39.5F070960
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Hello,
This is the file.
I just noticed that I was using the previous version of insight (I
downloaded it the last year). I'll download the last version and I'll try it
again.
Maybe that is the problem, Sorry.
Samuel
----- Original Message -----
From: "Stephen R. Aylward" <aylward@unc.edu>
To: "Samuel Rodríguez Bescos" <srodrigu@gbt.tfo.upm.es>
Cc: "Luis Ibanez" <luis.ibanez@kitware.com>;
<insight-users@public.kitware.com>
Sent: Friday, April 26, 2002 3:36 PM
Subject: Re: [Insight-users] GaussianFilter
> Hi Samuel,
>
> Would you mind sending me your .mha file (the text one).
>
> I'll take a look and see if there is something perhaps incorrect there.
>
> Thanks,
> Stephen
>
> Samuel Rodríguez Bescos wrote:
>
> > Hello Luis,
> > I'm using the Beta release because I'm begining to use the toolkit.
> >
> > 1) The caracter "_" is really in the error message.
> > 2) The name at the end of the metalimage file is the same as the name of
the
> > .raw file.
> > 3) Both of the files are in the same directory.
> > ----- Original Message -----
> > From: "Luis Ibanez" <luis.ibanez@kitware.com>
> > To: "Samuel Rodríguez Bescos" <srodrigu@gbt.tfo.upm.es>
> > Cc: <insight-users@public.kitware.com>
> > Sent: Friday, April 26, 2002 2:37 PM
> > Subject: Re: [Insight-users] GaussianFilter
> >
> >
> >
> >>Hi Samuel,
> >>
> >>The 2D version was added recently (maybe two weeks ago),
> >>so it is only available on the cvs version.
> >>
> >>Are you using the Beta release ?
> >>
> >>Could you please verify the following on the 3D
> >>version that you are running now, and tell us
> >>what you find:
> >>
> >>1) In your email the name of the .raw file has
> >> an "_" underscore symbol at the beginning.
> >> It shouldn't be there. Is this a typo in the
> >> email ? or is this character actually there ?
> >>
> >>2) The .mha header file is a text file, could you
> >> please open it with any editor and verify that
> >> the filename at the end if exactly the same as
> >> the name of the .mha file but with extension .raw.
> >>
> >>3) Please make sure that both the .mha file and the
> >> .raw are in the same directory. This is quite
> >> important because the reader just replace the
> >> name of the binary (.raw) file in the path of
> >> the .mha file.
> >>
> >>
> >>Thanks
> >>
> >>
> >>Luis
> >>
> >>
> >>=========================================================
> >>Samuel Rodríguez Bescos wrote:
> >>
> >>>I've got only the 3D version. I did the steps you told me but there is
> >>>
> > the
> >
> >>>same problem.
> >>>The mesaage in the Interface of the program is "Problems reading file
> >>>format". And in the MS-dos screen appears the next message: "_rror:
> >>>
> > Cannot
> >
> >>>open lement data file: _brainweb1e5a10f17.raw".
> >>>
> >>>
> >>>----- Original Message -----
> >>>From: "Luis Ibanez" <luis.ibanez@kitware.com>
> >>>To: "Samuel Rodríguez Bescos" <srodrigu@gbt.tfo.upm.es>
> >>>Cc: <insight-users@public.kitware.com>
> >>>Sent: Thursday, April 25, 2002 5:37 PM
> >>>Subject: Re: [Insight-users] GaussianFilter
> >>>
> >>>
> >>>
> >>>
> >>>>Hi Samuel,
> >>>>
> >>>>There are two executables in the GaussianFilter example.
> >>>>One version is for 3D and the other for 2D Images.
> >>>>
> >>>>ITK is N-Dimensional, but when it comes to designing
> >>>>all the GUI of a small program it is better to separate
> >>>>the two cases.
> >>>>
> >>>>The name of the executable for the 3D example is: GaussianFilter
> >>>>and the name for the 2D version is : GaussianFilter2D
> >>>>
> >>>>The 3D version expects images in MetaImage format. You can use
> >>>>the one from BrainWeb. Just notice that they are composed of a
> >>>>text header and a raw binary file. When you open the file dialog
> >>>>please select the files with extension (.mha).
> >>>>
> >>>>The 2D version can read images in PNG format and also images
> >>>>in MetaImage format. MetaImage support N-Dimensions, so you have
> >>>>to make sure that you provide a file with an actual 2D image
> >>>>inside.
> >>>>
> >>>>Please let us know if that helps.
> >>>>
> >>>>
> >>>> Thanks
> >>>>
> >>>>
> >>>> Luis
> >>>>
> >>>>=====================================
> >>>>
> >>>>
> >>>>Samuel Rodríguez Bescos wrote:
> >>>>
> >>>>
> >>>>>Hi everybody,
> >>>>>
> >>>>>I've beging to work with Gaussian Filter example. I could build it
well
> >>>>>but It can't read the file I select. I downloaded the file .raw.
> >>>>>"brainweb1e5a10f17.raw" from the BrainWeb. I select his metafile
> >>>>>(.mha)asociated, but the program can't load it. ¿does someone know
what
> >>>>>happens?
> >>>>>
> >>>>>
> >>>>>
> >>>>>Thanks,
> >>>>>
> >>>>>Samuel
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>_______________________________________________
> >>>Insight-users mailing list
> >>>Insight-users@public.kitware.com
> >>>http://public.kitware.com/mailman/listinfo/insight-users
> >>>
> >>>
> >>>
> >>
> >>
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >
>
------=_NextPart_000_0076_01C1ED39.5F070960
Content-Type: application/octet-stream;
name="brainweb1.mha"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="brainweb1.mha"
NDims = 3
DimSize = 181 217 180
ElementType = MET_UCHAR
ElementSpacing = 1.0 1.0 1.0
ElementByteOrderMSB = False
ElementDataFile = brainweb1.raw
------=_NextPart_000_0076_01C1ED39.5F070960--