# Reading in .ima 3D image files from CBCT

**URL:** <https://discourse.itk.org/t/reading-in-ima-3d-image-files-from-cbct/5184>\
**Category:** Beginner Questions\
**Tags:** image, ct, reading\
**Created:** [July 14, 2022, 9:41pm UTC](https://discourse.itk.org/t/reading-in-ima-3d-image-files-from-cbct/5184 "2022-07-14T21:41:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmm9uf](https://discourse.itk.org/user_avatar/discourse.itk.org/gmm9uf/32/2810_2.png) [@gmm9uf](https://discourse.itk.org/u/gmm9uf)\
**Post date:** [July 14, 2022, 9:41pm UTC](https://discourse.itk.org/t/reading-in-ima-3d-image-files-from-cbct/5184/1 "2022-07-14T21:41:42Z")

</div>

I have 3D CBCT images to analyze but am not sure how to read in these image files. Each image consists of about 400 .ima files (which I am assuming are 2D slices that together form the 3D image). I am able to read in each individual .ima file, but I am not sure how to concatenate these files in ITK code in order to form just one single 3D image to analyze.

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [July 14, 2022, 10:32pm UTC](https://discourse.itk.org/t/reading-in-ima-3d-image-files-from-cbct/5184/2 "2022-07-14T22:32:07Z")

</div>

You are most likely dealing with a DICOM series. Take a look at this [example](https://examples.itk.org/src/io/gdcm/readdicomseriesandwrite3dimage/documentation) which converts DICOM series into single 3D image files, which are easier to deal with.
