# How to get datasets for the examples which get built in the ITK build?

**URL:** <https://discourse.itk.org/t/how-to-get-datasets-for-the-examples-which-get-built-in-the-itk-build/5069>\
**Category:** Beginner Questions\
**Tags:** itk, dicom, examples\
**Created:** [June 8, 2022, 1:42pm UTC](https://discourse.itk.org/t/how-to-get-datasets-for-the-examples-which-get-built-in-the-itk-build/5069 "2022-06-08T13:42:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumit\_Sharma](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@Sumit\_Sharma](https://discourse.itk.org/u/Sumit_Sharma)\
**Post date:** [June 8, 2022, 1:42pm UTC](https://discourse.itk.org/t/how-to-get-datasets-for-the-examples-which-get-built-in-the-itk-build/5069/1 "2022-06-08T13:42:33Z")

</div>

After building the ITK library, I tried to run the examples with the demo datasets which I suppose should come along with the library. However I am not able to find how to download these datasets. Also I downloaded the zip files but the zip files only contain sha/md5 files, I am not sure how to get actual dataset from these files which can be used as a starting point for a beginner.

Also I have heard that the dataset is available in the same directory structure as the build output, but i am not able to download it.  
for example, say :  
~/itkbin/bin - directory has ImageRegistration11 example built, how can I get the corresponding data to this example (or any other example).

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [June 8, 2022, 6:28pm UTC](https://discourse.itk.org/t/how-to-get-datasets-for-the-examples-which-get-built-in-the-itk-build/5069/2 "2022-06-08T18:28:51Z")

</div>

You need to build `ITKData` target, in order for the data to be downloaded. It gets downloaded into build directory’s `ExternalData` subdirectory. On my computer that is `C:\Dev\ITK-19\ExternalData`, on yours it might be `~/itkbin/bin/ExternalData`.
