# Voxel grid overlay

**URL:** <https://discourse.slicer.org/t/voxel-grid-overlay/2425>\
**Category:** Support\
**Created:** [March 26, 2018, 1:56pm UTC](https://discourse.slicer.org/t/voxel-grid-overlay/2425 "2018-03-26T13:56:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [March 26, 2018, 1:56pm UTC](https://discourse.slicer.org/t/voxel-grid-overlay/2425/1 "2018-03-26T13:56:36Z")

</div>

Is it possible to toggle overlay of the voxel grid in slice views?

I think this is a feature that was available long time ago in Slicer 3. I think it can be quite helpful in some corner use cases (one of which I’ve just encountered!).

---

<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:** [March 26, 2018, 2:20pm UTC](https://discourse.slicer.org/t/voxel-grid-overlay/2425/2 "2018-03-26T14:20:04Z")

</div>

Yes, there was a voxel grid in Slicer3, but was never ported forward. Mostly I find that turning off interpolation of the volume is good enough. What’s the corner case?

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [March 26, 2018, 2:39pm UTC](https://discourse.slicer.org/t/voxel-grid-overlay/2425/3 "2018-03-26T14:39:09Z")

</div>

> [@pieper](#):
>
> What’s the corner case?

Counting voxels for debugging pixel data encoding.

---

<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:** [March 26, 2018, 2:55pm UTC](https://discourse.slicer.org/t/voxel-grid-overlay/2425/4 "2018-03-26T14:55:16Z")

</div>

I think the DataProbe should help. Or if you access the volume as an array and put unique values in each voxel it could help.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [March 26, 2018, 3:18pm UTC](https://discourse.slicer.org/t/voxel-grid-overlay/2425/5 "2018-03-26T15:18:18Z")

</div>

Oh, it definitely helps, and I can use the IJK reported in DataProbe for counting, I can also write a script outside of Slicer to help me. It’s by no means a stopper for me, but it is a nice feature that can be useful in some cases, and apparently was deemed helpful in Slicer 3.

Anyway, sounds like at the moment the answer to my original question is “no”.

Thanks!
