# How to build high accuracy SPECT Imaging

**URL:** <https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754>\
**Category:** Feature requests\
**Tags:** feature, segmentation, extensions-manager, dicom, python\
**Created:** [July 15, 2021, 3:09pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754 "2021-07-15T15:09:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![akmal871026](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akmal871026/32/11642_2.png) [@akmal871026](https://discourse.slicer.org/u/akmal871026)\
**Post date:** [July 15, 2021, 3:09pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/1 "2021-07-15T15:09:26Z")

</div>

Hi All,

I did the SPECT image segmentation using the PETTumorSegmentation extension.

But there is low accuracy.

Let say, my dummy sphere volume phantom is 27 ml, using PETTumorSegmenation I got 44ml.

Does anyone know is it there is the best method for SPECT segmentation using 3D Slicer??

Thank you.

---

<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:** [July 15, 2021, 4:17pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/2 "2021-07-15T16:17:24Z")

</div>

You can use finer resolution for the segmentation than the input image. See detailed instructions [here](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html#segmentation-is-not-accurate-enough).

Do you also have a CT image corresponding to the SPECT image? If yes, then it would make sense to choose that as a master volume for the segmentation, as most likely it has sufficiently fine resolution.

---

<div class="post-metadata">

**Author:** ![akmal871026](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akmal871026/32/11642_2.png) [@akmal871026](https://discourse.slicer.org/u/akmal871026)\
**Post date:** [July 15, 2021, 5:32pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/3 "2021-07-15T17:32:34Z")

</div>

Hi Sir,

I’m not find _Specify geometry_ button in Segment Editor

---

<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:** [July 15, 2021, 5:35pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/4 "2021-07-15T17:35:06Z")

</div>

The button is here, as described in the documentation:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/c/1ce70d1b4679d9af8a65a0dab5c93dfd709f5115.jpeg)

If the button is not there then you are using a very old Slicer version and you need to update to the current version.

---

<div class="post-metadata">

**Author:** ![akmal871026](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akmal871026/32/11642_2.png) [@akmal871026](https://discourse.slicer.org/u/akmal871026)\
**Post date:** [July 15, 2021, 5:44pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/5 "2021-07-15T17:44:16Z")

</div>

i got that. this is my geometry. then how to do?

 ![geometry](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/f/2f07f80d8d93431396b1da126e07a669258a7beb.jpeg)

---

<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:** [July 15, 2021, 7:40pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/6 "2021-07-15T19:40:02Z")

</div>

You have two options, as described [here](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html#segmentation-is-not-accurate-enough).

I would recommend option A (crop volume), because you can crop away a large part of your volume and so you can have a high-resolution volume, without increased memory usage.

Option B. (use specify geometry button) would work, too, just would make things slower. For your data, you would need to use an oversampling factor of about 4.0, and since the physical extent of the volume will remains the same, the memory usage (and computation time for most operations) will be 64x more.

---

<div class="post-metadata">

**Author:** ![akmal871026](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akmal871026/32/11642_2.png) [@akmal871026](https://discourse.slicer.org/u/akmal871026)\
**Post date:** [July 16, 2021, 3:52am UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/7 "2021-07-16T03:52:04Z")

</div>

But sir, where is button crop located?? I also not found

---

<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:** [July 16, 2021, 1:03pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/8 "2021-07-16T13:03:49Z")

</div>

You can switch to Crop volume module using the module finder (Ctrl-F).

---

<div class="post-metadata">

**Author:** ![akmal871026](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akmal871026/32/11642_2.png) [@akmal871026](https://discourse.slicer.org/u/akmal871026)\
**Post date:** [July 17, 2021, 2:20pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/9 "2021-07-17T14:20:18Z")

</div>

![image.png](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/6/e6c080b3463d789e335a4cfc9fcb732a792d5cd1.png)

**Which one? Crop Volume or Crop Volume Sequence?**

---

<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:** [July 17, 2021, 4:17pm UTC](https://discourse.slicer.org/t/how-to-build-high-accuracy-spect-imaging/18754/10 "2021-07-17T16:17:35Z")

</div>

You can read a short summary of the module on the right side. In short, “Crop volume” module is for cropping volumes (3D), while “Crop volume sequence” module is for cropping sequence of volumes (4D data sets). Therefore, as I wrote in my last post, you will need to use “Crop volume” module.
