Difference between revisions of "TubeTK/Design Discussions"

From KitwarePublic
Jump to navigationJump to search
(Blanked the page)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Introduction =
Tubetk has adopted [http://midas3.kitware.com/midas/ MIDAS] to store testing and algorithm validation dataset. For this purpose, we have created a dedicated [http://midas3.kitware.com/midas/community/7 tubetk MIDAS community]

In the tubetk community, we have two main types of folders
#'''Input data folder''': Where all input data for testing will be stored
#'''Baseline dataset folder''': These are individual folders that will be used to store the baseline images for regression tests in tubetk
= How to add a new tubetk test =
#If the input data is not already in Midas,
##Upload the data to the "Data" folder
##Download the key file (*.md5) and store it in the MIDAS_KEYS directory at the top level of tubetk source code tree
#Add baseline dataset for the new test ( if your test is a regression testing )
##Upload the dataset to the appropriate CLI or module folder. If your test is part of a new "module" or CLI, create a new a folder in MIDAS and then upload the dataset
##Download the key file  (*.md5) for the baseline image and store it in the MIDAS_KEYS directory.
#Modify cmake list files in the Testing directory to "add" unit tests to use the data from MIDAS.
##Use MIDAS_FETCH_ONLY macro, if you would like to fetch the dataset but not use it directly in the test
##Use MIDAS_DIRECTORY, if you would like to specify a whole directory as an input command line argument to your test
Test using a data store in MIDAS
            ${TEMP}/SyntheticTubePlusSurfaceEEDFilterResultImage_oriented.mha )
Test with a directory as input argument: DICOMSeries
              -a Test1 001
              -o ${TEMP}
              -b DSC_
              MIDAS_DIRECTORY{DICOMSeries} )
Test that demonstrates fetch only option: tubeEdgeEnhancingAnisotropicDiffusionMIDAS-Test1
= MIDAS macro =
The following are the main MIDAS cmake macro that will be used when adding a test
#[http://www.kitware.com/midaswiki/index.php/MIDAS%2BCTest#How_to_create_a_test_that_will_download_and_use_MIDAS-hosted_data MIDAS_ADD_TEST]
#[http://www.kitware.com/midaswiki/index.php/MIDAS%2BCTest#MIDAS_TGZ_option MIDAS_TGZ ]
#[http://www.kitware.com/midaswiki/index.php/MIDAS%2BCTest#MIDAS_FETCH_ONLY_option MIDAS_FETCH ONLY]
#[http://www.kitware.com/midaswiki/index.php/MIDAS%2BCTest#MIDAS_DIRECTORY_option MIDAS_DIRECTORY]

Latest revision as of 18:40, 26 July 2013