[Insight-developers] Need sample Input files
Julien Jomier
jjomier@cs.unc.edu
Tue, 4 Mar 2003 13:58:56 -0500
Luis,
Why do we need complex images to test the IO ?
Why not just creating a simple image with a serie continuous pixel values ?
This will simplify the code.
Julien
> -----Original Message-----
> From: insight-developers-admin@public.kitware.com
> [mailto:insight-developers-admin@public.kitware.com] On
> Behalf Of Luis Ibanez
> Sent: Tuesday, March 04, 2003 11:34 AM
> To: Julien Jomier
> Cc: Lorensen, William E (Research);
> insight-developers@public.kitware.com
> Subject: Re: [Insight-developers] Need sample Input files
>
>
>
> Julien,
>
> That sounds like a good idea to me.
>
> The synthetic images do not have to be as trivial
> as the binary sphere. We could use more elaborate
> ones like the 'cake' image that Jim used for testing
> the BilateralImageFilter.
>
> I agree with you in that we haven't tested that the
> image content is actually being read correctly.
>
> A possible option is to write a short example that
> uses the ElliseSpatialObjects to generate an image
> that looks like a simplified brain (e.g. rough
> components for the skull and two or three blobs
> as internal structures. Then saving this in any
> of the formats we want to test.
>
> As you said, we could then test both reading
> and writing for correctness.
>
>
>
> Luis
>
>
>
> ------------------------------------
>
> Julien Jomier wrote:
> > Bill, Luis,
> >
> > How about creating a synthetic image within each test then
> do a write
> > first and read to test if the resulting image is valid.
> Right now we
> > are not testing if the content of the image is valid, only if the
> > reader and writer are running.
> >
> > What do you think ?
> >
> > Julien
> >
> > ----- Original Message -----
> > From: "Luis Ibanez" <luis.ibanez@kitware.com>
> > To: "Lorensen, William E (Research)" <lorensen@crd.ge.com>
> > Cc: <insight-developers@public.kitware.com>
> > Sent: Tuesday, March 04, 2003 11:04 AM
> > Subject: Re: [Insight-developers] Need sample Input files
> >
> >
> >
> >>Bill,
> >>
> >>What is a reasonable size for these files ?
> >>
> >>BrainWeb images for example are about 8Mb
> >>in size...
> >>
> >>Are synthetic images a reasonable option ?
> >>(e.g. a 100x100x100 image with a binary
> >>spheree...).
> >>
> >>Can we define "small" as something about
> >>1Mb ?
> >>
> >>
> >>
> >> Luis
> >>
> >>
> >>-----------------------------------------
> >>Lorensen, William E (Research) wrote:
> >>
> >>>Folks,
> >>>We need sample input files for the following input file types:
> >>>
> >>>Dicom
> >>>Gipl
> >>>Analyze
> >>>Meta
> >>>VOL
> >>>
> >>>Some of these types have tests, but they have not been running. To
> >>>run
> >>
> > them, we need one data file.
> >
> >>>The file should be "small". You can check them into
> >>
> > Insight/Testing/Data/Input. Make sure you use
> >
> >>>cvs add -kb
> >>>
> >>>Also, make sure you have permission to use the files.
> >>>
> >>>Let me know when they arrive.
> >>>
> >>>Thanks,
> >>>
> >>>Bill
> >>>_______________________________________________
> >>>Insight-developers mailing list
> Insight-developers@public.kitware.com
> >>>http://public.kitware.com/mailman/listinfo/insight-developers
> >>>
> >>
> >>
> >>
> >>
> >>_______________________________________________
> >>Insight-developers mailing list
> >>Insight-developers@public.kitware.com
> >>http://public.kitware.com/mailman/listinfo/insight-developers
> >>
> >
> >
> >
>
>
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>