# Volume ImageData access inside CLI module

**URL:** <https://discourse.slicer.org/t/volume-imagedata-access-inside-cli-module/6561>\
**Category:** Development\
**Created:** [April 23, 2019, 12:12am UTC](https://discourse.slicer.org/t/volume-imagedata-access-inside-cli-module/6561 "2019-04-23T00:12:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michalikthomas](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@michalikthomas](https://discourse.slicer.org/u/michalikthomas)\
**Post date:** [April 23, 2019, 12:12am UTC](https://discourse.slicer.org/t/volume-imagedata-access-inside-cli-module/6561/1 "2019-04-23T00:12:55Z")

</div>

Is it possible to access volume imageData inside c++ CLI module?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 23, 2019, 12:12pm UTC](https://discourse.slicer.org/t/volume-imagedata-access-inside-cli-module/6561/2 "2019-04-23T12:12:15Z")

</div>

Typically, Slicer MRML volumes are passed as nrrd files which the CLI reads using ITK to get an itk::Image.
