# \#image

**URL:** https://discourse.itk.org/tag/image/158.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [Unable to Read MHD Files with metaReadImage](https://discourse.itk.org/t/unable-to-read-mhd-files-with-metareadimage/7447)

<div class="topic-metadata">

**Author:** [@GMrrc](https://discourse.itk.org/u/GMrrc)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 9:34pm UTC](https://discourse.itk.org/t/unable-to-read-mhd-files-with-metareadimage/7447 "2025-02-28T21:34:14Z")

</div>

Hello I’m encountering issues when trying to read MHD files using the metaReadImage method from ITK-Wasm. I’ve tried multiple approaches, but I cannot successfully load an MHD/ZRAW file. Additionally, the official onlin…

---

## [Fusion between segmentation and reference image](https://discourse.itk.org/t/fusion-between-segmentation-and-reference-image/6469)

<div class="topic-metadata">

**Author:** [@Nuno\_Loucao1](https://discourse.itk.org/u/Nuno_Loucao1)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 4:09pm UTC](https://discourse.itk.org/t/fusion-between-segmentation-and-reference-image/6469 "2024-02-26T16:09:19Z")

</div>

Hi! I’m performing an analysis on a 4D breast MRI scan. I’m trying to fuse the segmentation results on a reference image dataset (3D), but without results. So i have the lesion segmented, then i multiply it by, p.ex.,…

---

## [Reading and writing of 5D images - a dimension disappears](https://discourse.itk.org/t/reading-and-writing-of-5d-images-a-dimension-disappears/6210)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.itk.org/u/cpinter)\
**Replies:** 28\
**Last updated:** [February 15, 2024, 9:21pm UTC](https://discourse.itk.org/t/reading-and-writing-of-5d-images-a-dimension-disappears/6210 "2024-02-15T21:21:17Z")

</div>

Hi all, We’re trying to enable 3D Slicer to read and write vector image sequences (displacement field or velocity field: 3D spatial + component + time = 5 dimensions) into a single file. The format of choice is NRRD, an…

---

## [Digital Image Correlation](https://discourse.itk.org/t/digital-image-correlation/5745)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 0\
**Last updated:** [February 22, 2023, 3:54pm UTC](https://discourse.itk.org/t/digital-image-correlation/5745 "2023-02-22T15:54:55Z")

</div>

Can anyone help with getting a registration framework set up for the matching portion of a Digital image correlation program?? Please feel free to send me a message too! Thank you!!

---

## [Universal Registration Framework](https://discourse.itk.org/t/universal-registration-framework/5729)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 9\
**Last updated:** [February 21, 2023, 6:32pm UTC](https://discourse.itk.org/t/universal-registration-framework/5729 "2023-02-21T18:32:56Z")

</div>

Hello, Is it possible to write a registration framework that would work for any image pair? Meaning, the same inputs and framework would work on image pairs of different specimens? Or is the ITK registration framework …

---

## [Registration: Dimensional Differences in Images, Padding](https://discourse.itk.org/t/registration-dimensional-differences-in-images-padding/5723)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 3\
**Last updated:** [February 18, 2023, 6:43pm UTC](https://discourse.itk.org/t/registration-dimensional-differences-in-images-padding/5723 "2023-02-18T18:43:34Z")

</div>

How does ITK/SimpleITK account for dimensional differences between images during registration?? OR do they need to be padded accordingly?

---

## [How do I load a vtkImageData as an image?](https://discourse.itk.org/t/how-do-i-load-a-vtkimagedata-as-an-image/5686)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 11:23pm UTC](https://discourse.itk.org/t/how-do-i-load-a-vtkimagedata-as-an-image/5686 "2023-02-08T23:23:44Z")

</div>

Hello, I have been trying to reuse the array of a UniformGrid (PyVista’s equivalent to vtkImageData) with ITK. The resulting data seems to be cropped by 1 voxel. How can I load the data as cells with ITK? (Extra.) Ult…

---

## [Reading in .ima 3D image files from CBCT](https://discourse.itk.org/t/reading-in-ima-3d-image-files-from-cbct/5184)

<div class="topic-metadata">

**Author:** [@gmm9uf](https://discourse.itk.org/u/gmm9uf)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 10:32pm UTC](https://discourse.itk.org/t/reading-in-ima-3d-image-files-from-cbct/5184 "2022-07-14T22:32:07Z")

</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 eac…

---

## [SimpleITK ScaleTransform understanding](https://discourse.itk.org/t/simpleitk-scaletransform-understanding/4313)

<div class="topic-metadata">

**Author:** [@Theoretialperson](https://discourse.itk.org/u/Theoretialperson)\
**Replies:** 2\
**Last updated:** [August 5, 2021, 7:37pm UTC](https://discourse.itk.org/t/simpleitk-scaletransform-understanding/4313 "2021-08-05T19:37:20Z")

</div>

I want to scale a 3D image by some factor, and I was expecting that the scale factor in ScaleTransform would give me a zoomed-out image when the scale factor is smaller than 1.0. Unfortunately this is not the case. I get…

---

## [Issue with reading mhd image file](https://discourse.itk.org/t/issue-with-reading-mhd-image-file/4038)

<div class="topic-metadata">

**Author:** [@spb](https://discourse.itk.org/u/spb)\
**Replies:** 4\
**Last updated:** [April 17, 2021, 6:28am UTC](https://discourse.itk.org/t/issue-with-reading-mhd-image-file/4038 "2021-04-17T06:28:19Z")

</div>

Hi, I am reading mhd image file in python using SimpleITK as follows. sitkimage = sitk.ReadImage(mhdFile) The issue is, after reading image, size is changed. Original Image (width, height, depth) → (1024, 512, 128) …

---

## [Split/Crop 3d Image slices into 3d small objects.](https://discourse.itk.org/t/split-crop-3d-image-slices-into-3d-small-objects/4001)

<div class="topic-metadata">

**Author:** [@Ali009](https://discourse.itk.org/u/Ali009)\
**Replies:** 1\
**Last updated:** [April 1, 2021, 1:31pm UTC](https://discourse.itk.org/t/split-crop-3d-image-slices-into-3d-small-objects/4001 "2021-04-01T13:31:19Z")

</div>

Hi. I have grayscale images 720x720x300(image size where 300 slices of 3d image). To generate more examples from available data i cropped the images into multiple small objects. But i just use WxH and i need Z too. I don…

---

## [Image with LAB colorspace](https://discourse.itk.org/t/image-with-lab-colorspace/3593)

<div class="topic-metadata">

**Author:** [@nm97](https://discourse.itk.org/u/nm97)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 4:02pm UTC](https://discourse.itk.org/t/image-with-lab-colorspace/3593 "2020-11-03T16:02:12Z")

</div>

Hi everyone, Just wanted to know how can I have an image with LAB colorspace as it is done for example RGB. itk::Image\<itk::RGBPixel\<InputDataType\>, Diemnsions\> Thank you. Regards, Hrach

---

## [Mismatch of image view and its actual dimensions](https://discourse.itk.org/t/mismatch-of-image-view-and-its-actual-dimensions/3433)

<div class="topic-metadata">

**Author:** [@a10227](https://discourse.itk.org/u/a10227)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 1:13pm UTC](https://discourse.itk.org/t/mismatch-of-image-view-and-its-actual-dimensions/3433 "2020-09-04T13:13:25Z")

</div>

I noticed a mismatch between the image dimensions and its view in ITKSnap (in other viewers the view is the same as in ITKSnap). The dimension of the image is 512 \* 233. On the left side is the image view in ITKSnap, on …

---

## [Convert volume from voxels to mm^3 or cm^3](https://discourse.itk.org/t/convert-volume-from-voxels-to-mm-3-or-cm-3/3280)

<div class="topic-metadata">

**Author:** [@agatadefr](https://discourse.itk.org/u/agatadefr)\
**Replies:** 3\
**Last updated:** [July 13, 2020, 1:47pm UTC](https://discourse.itk.org/t/convert-volume-from-voxels-to-mm-3-or-cm-3/3280 "2020-07-13T13:47:32Z")

</div>

Hey Guys, I am quite new in ITK. I implemented using LabelGeometryImageFilter. I extracted label volumes. Output results are in voxels. I would like to convert to cc\`3 or mm^3. Could you help me how I can do that ? …

---

## [Python ITK convert mha image to png image](https://discourse.itk.org/t/python-itk-convert-mha-image-to-png-image/3060)

<div class="topic-metadata">

**Author:** [@jo\_jo](https://discourse.itk.org/u/jo_jo)\
**Replies:** 2\
**Last updated:** [May 14, 2020, 2:22am UTC](https://discourse.itk.org/t/python-itk-convert-mha-image-to-png-image/3060 "2020-05-14T02:22:15Z")

</div>

Hello, I am using itk with python for the first time. I am trying to convert a mha image (2d) to a png image. To be perfectly honest I am not sure how to use pixel types, I hope you can point me into the right direction …

---

## [How to select a ROI on dicomseries?](https://discourse.itk.org/t/how-to-select-a-roi-on-dicomseries/2945)

<div class="topic-metadata">

**Author:** [@Amnesie](https://discourse.itk.org/u/Amnesie)\
**Replies:** 6\
**Last updated:** [April 21, 2020, 10:34pm UTC](https://discourse.itk.org/t/how-to-select-a-roi-on-dicomseries/2945 "2020-04-21T22:34:35Z")

</div>

Hi everyone, I want to know how to select a ROI on dicomseries? I knew how to read dicomseries and did it for a single dicom. but for dicomseries i have no idea. For example i have a dicom series,now i want to select a…
