# Create ROI from PET data

**URL:** <https://discourse.slicer.org/t/create-roi-from-pet-data/16695>\
**Category:** Support\
**Tags:** segmentation, dicom\
**Created:** [March 22, 2021, 3:02pm UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695 "2021-03-22T15:02:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kykwon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kykwon/32/10387_2.png) [@kykwon](https://discourse.slicer.org/u/kykwon)\
**Post date:** [March 22, 2021, 3:02pm UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695/1 "2021-03-22T15:02:34Z")

</div>

Dear experts,

I am trying to create ROI from dicom PET/CT data. I complete segmentation from the PET dicom data but I don’t know how can I create ROI from segmentation… is it possible or should I have to different way? please advice me…

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:** [March 23, 2021, 5:53am UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695/2 "2021-03-23T05:53:41Z")

</div>

What do you mean by ROI? In Slicer, by ROI we mean a box-shaped region of interest, but some people use ROI term for segmentation.

What is your overall goal?

---

<div class="post-metadata">

**Author:** ![kykwon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kykwon/32/10387_2.png) [@kykwon](https://discourse.slicer.org/u/kykwon)\
**Post date:** [March 23, 2021, 6:27am UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695/3 "2021-03-23T06:27:02Z")

</div>

I’m newbie on this field. I want to simulate patient dose rate from the PET/CT DICOM file by FLUKA and it seems need ROIs for create RT Structure. I struggling hard for this last few weeks but still any gain.

First, I want to calculate absorbed dose of lesion from the PET image.  
Second, I want to simulate absorbed dose of lesion to voxelized source from the PET.  
where CT image will be use to voxel detector.

I can’t find information about this…

---

<div class="post-metadata">

**Author:** ![kykwon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kykwon/32/10387_2.png) [@kykwon](https://discourse.slicer.org/u/kykwon)\
**Post date:** [March 24, 2021, 4:28am UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695/4 "2021-03-24T04:28:01Z")

</div>

I find solution, thank you for your kindness

Ciao

---

<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:** [March 24, 2021, 4:07pm UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695/5 "2021-03-24T16:07:02Z")

</div>

Have you found a solution?

We don’t know what inputs FLUKA needs, but if you tell exactly what is required then we can tell you how to get it in Slicer.

---

<div class="post-metadata">

**Author:** ![kykwon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kykwon/32/10387_2.png) [@kykwon](https://discourse.slicer.org/u/kykwon)\
**Post date:** [March 25, 2021, 1:32am UTC](https://discourse.slicer.org/t/create-roi-from-pet-data/16695/6 "2021-03-25T01:32:31Z")

</div>

Dear lassoan

I didn’t know how do I mark up ROI on segmentation but now it’s okay.

additionally, I got error message while running Nvidia AI asistant like below

{{  
Traceback (most recent call last):  
File “/home/qwaj/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py”, line 492, in onClickAnnotation  
result\_file = self.logic.dextr3d(in\_file, session\_id, model, pointSet)  
File “/home/qwaj/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py”, line 1112, in dextr3d  
session\_id=session\_id,  
File “/home/qwaj/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/NvidiaAIAssistedAnnotation/lib/Slicer-4.11/qt-scripted-modules/NvidiaAIAAClientAPI/client\_api.py”, line 287, in dextr3d  
raise AIAAException(AIAAError.SERVER\_ERROR, ‘Status: {}; Response: {}’.format(status, form))  
NvidiaAIAAClientAPI.client\_api.AIAAException: (3, ‘Status: 500; Response: b’\n500 Internal Server Error\n

# Internal Server Error
\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n’’)  
}}

what should I do?

thank you
