[Insight-developers] Need sample Input files
Lorensen, William E (Research)
lorensen@crd.ge.com
Tue, 4 Mar 2003 16:59:27 -0500
Look in the CMakeLists.txt file in IO. You can see what I did for PNG. Keep the tests that rely on
data within the same IF/ENDIF block. Note that you can run the same test multiple times with
different data. Just give the test (the first field) a different name.
Bill
-----Original Message-----
From: Hans Johnson [mailto:hjohnson@mail.psychiatry.uiowa.edu]
Sent: Tuesday, March 04, 2003 3:53 PM
To: Lorensen, William E (Research)
Cc: insight-developers@public.kitware.com
Subject: Re: [Insight-developers] Need sample Input files
Bill,
We have added 5 images to the Insight/Testing/Data/Input directory.
1) How do we tell the dartboard to run the tests?
2) How do we specify the path to the files?
3) How do we specify command line options to the files?
We need to have the following test run:
$(BINARY_DIRECTORY)/itkIOTests itkAnalyzeImageIOTest
$(INSIGHT_SOURCE_DIR)/Testing/Data/Input/BigEndianCompressed.hdr
$(INSIGHT_SOURCE_DIR)/Testing/Data/Input/BigEndian.hdr
$(INSIGHT_SOURCE_DIR)/Testing/Data/Input/LittleEndianCompressed.hdr
$(INSIGHT_SOURCE_DIR)/Testing/Data/Input/LittleEndian.hdr
By running this test, we should improve our code coverage from 11% to
nearly 100%, so we would really like to get this done yet today if possible.
Thank you for all your help.
Hans
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
--
===================================================================
Hans J. Johnson W294 GH
hans-johnson@uiowa.edu Dept. of Psychiatry
http://www.psychiatry.uiowa.edu/~hjohnson The University of Iowa
(319) 353-8587 Iowa City, IA 52242
===================================================================