# How to establish type of study

**URL:** https://discourse.itk.org/t/how-to-establish-type-of-study/4624
**Category:** Uncategorized
**Created:** [November 30, 2021, 8:27am UTC](https://discourse.itk.org/t/how-to-establish-type-of-study/4624 "2021-11-30T08:27:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jakub\_Mitura](https://discourse.itk.org/user_avatar/discourse.itk.org/jakub_mitura/32/2406_2.png) [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)
#### Post date: [November 30, 2021, 8:27am UTC](https://discourse.itk.org/t/how-to-establish-type-of-study/4624/1 "2021-11-30T08:27:35Z")

</div>

Hello is it possible given arbitrary dicom files to establish is it computer tomography, pet or MRI using simple itk python library

Thanks for help !!

---

<div class="post-metadata">

### Author: ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)
#### Post date: [November 30, 2021, 1:40pm UTC](https://discourse.itk.org/t/how-to-establish-type-of-study/4624/2 "2021-11-30T13:40:48Z")

</div>

Hello @Jakub_Mitura,

The modality can be obtained from the appropriate DICOM tag (0008|0060) which is not surprisingly called “modality”. This information, along with all the other DICOM tag values is found in the meta-data dictionary associated with the image.

Without reading the bulk image content:

```auto
import SimpleITK as sitk

reader = sitk.ImageFileReader()
reader.SetFileName('2.25.197740477224313075400152842464454543777.dcm')
reader.ReadImageInformation()
print(reader.GetMetaData('0008|0060'))

```

or with reading it:

```auto
import SimpleITK as sitk

image = sitk.ReadImage('2.25.197740477224313075400152842464454543777.dcm')
print(image.GetMetaData('0008|0060'))

```

---

<div class="post-metadata">

### Author: ![Jakub\_Mitura](https://discourse.itk.org/user_avatar/discourse.itk.org/jakub_mitura/32/2406_2.png) [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)
#### Post date: [December 1, 2021, 7:33am UTC](https://discourse.itk.org/t/how-to-establish-type-of-study/4624/3 "2021-12-01T07:33:47Z")

</div>

Thanks !!  
I will get deeper into dicom codes,  
I am looking for example wheather sth was done with bone or soft tissue protocol for ct study i assume that i can establish it using  
X-Ray Tube Current in mA. Metadata tag am i correct

Also do you know wheather there is a function in itk to convert normal values in pet image to stardarized uptake values ? SUV max for example ?

Thank you for your time !!!

---

<div class="post-metadata">

### Author: ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)
#### Post date: [December 1, 2021, 2:21pm UTC](https://discourse.itk.org/t/how-to-establish-type-of-study/4624/4 "2021-12-01T14:21:55Z")

</div>

Hello @Jakub_Mitura,

With respect to bone or soft tissue protocol, I suspect you are correct, but I’m not an expert on this. For the list of tags describing the CT image acquisition [see here](https://dicom.innolitics.com/ciods/ct-image/ct-image). I think you can compare between the two types of acquisitions and find out what is different between them to confirm.

With respect to computing SUV values, that is up to the developer as computation involves values from the image **and** external values (injected dose and body weight). I suspect these numbers are available in DICOM tags, but it is up to the developer to access them and perform the relevant calculations (see “Standardized Uptake Values of FDG: Body Surface Area Correction is Preferable to Body Weight Correction”, C.K. Kim et al., 1994).

---

<div class="post-metadata">

### Author: ![dclunie](https://discourse.itk.org/user_avatar/discourse.itk.org/dclunie/32/2178_2.png) [@dclunie](https://discourse.itk.org/u/dclunie)
#### Post date: [December 1, 2021, 2:25pm UTC](https://discourse.itk.org/t/how-to-establish-type-of-study/4624/5 "2021-12-01T14:25:16Z")

</div>

Re. SUV, see [http://qibawiki.rsna.org/index.php/Standardized\_Uptake\_Value\_(SUV)](http://qibawiki.rsna.org/index.php/Standardized_Uptake_Value_(SUV))
