# Write loadable reader module to import custom data to Slicer

**URL:** <https://discourse.slicer.org/t/write-loadable-reader-module-to-import-custom-data-to-slicer/14844>\
**Category:** Support\
**Created:** [December 2, 2020, 4:38am UTC](https://discourse.slicer.org/t/write-loadable-reader-module-to-import-custom-data-to-slicer/14844 "2020-12-02T04:38:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [December 2, 2020, 4:38am UTC](https://discourse.slicer.org/t/write-loadable-reader-module-to-import-custom-data-to-slicer/14844/1 "2020-12-02T04:38:38Z")

</div>

Hi,

My data is writen in hdf5 container and may be represented as `vtkImageData`.  
I’m trying to write module that allows me to upload this data to Slicer so it would be possible to work with this data in Slicer (I think it should become visible in `Data` module and `Volume` module).

Which Slicer’s module should I work with to do that? I thought it is `Data` module but I should be mistaken as I can’t see any `Data`'s method that allows me to “register” my data in Slicer scope.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 30, 2021, 1:40pm UTC](https://discourse.slicer.org/t/write-loadable-reader-module-to-import-custom-data-to-slicer/14844/2 "2021-09-30T13:40:21Z")

</div>

You can use the [VFF file reader in SlicerRT](https://github.com/SlicerRt/SlicerRT/tree/master/VffFileReader) as an example.

---

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [September 30, 2021, 2:01pm UTC](https://discourse.slicer.org/t/write-loadable-reader-module-to-import-custom-data-to-slicer/14844/3 "2021-09-30T14:01:51Z")

</div>

Thank you!

For now I’ve implemented some custom GUI API aimed at reading my data.  
But in the future I think I will rework them to make it more similar to Slicer native IO modules. I will come back then to that topic and see the example you gave me.
