# Saggital and Coronal view are distorted (stretched out)

**URL:** <https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868>\
**Category:** Support\
**Tags:** dicom\
**Created:** [May 21, 2019, 11:54am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868 "2019-05-21T11:54:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [May 21, 2019, 11:54am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/1 "2019-05-21T11:54:50Z")

</div>

Operating system:Microsoft Windows 10  
Slicer version: 4.10.1  
Hi!  
My micro-CT data in tif format was loaded into 3D Slicer,the axinal view display normally,but the coronal and saggital view was distored like a line.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/4/34fc48391ea5eeef1e59e689aa3b06d04723064b.png)  
I´ve changed the Image Spacing but I dont the threes correct numbers. What are correct values of the Image Spacing ? Or How I solve this distortion ?  
Thanks!  
The Image Spacing chosen by 3D Slicer : ![slice_spacing](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/7/c76c275e8ef9770b1e7a2af649d8effb5b594d77.png)  
The expected image : ![exepected_images](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/e/1ee6f1c942cd26dbc3bb41611bb9c8799e7a3632.png)  
MY micro CT datas :[https://drive.google.com/file/d/1A7BYRmqL5j7q5a8e\_cRe4Sc4RUEodsax/view?usp=sharing](https://drive.google.com/file/d/1A7BYRmqL5j7q5a8e_cRe4Sc4RUEodsax/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [May 21, 2019, 12:13pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/2 "2019-05-21T12:13:43Z")

</div>

You need to find the correct image spacing for your Z dimension. Looks like data came from a microCT scanner. File is too large for my to download on my current connection, but maybe there is a text file or some sort of description of scan settings. Perhaps people who scanned it can tell you those…

---

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [May 21, 2019, 1:50pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/3 "2019-05-21T13:50:00Z")

</div>

Thanks @muratmaga. The only informations that I have about how the microCT scanner was seted  
are those two :

1. Current = 74.000000  
Data Type = ushort  
Image Height = 1013  
Image Width = 992  
Images Taken = 995  
Pixel Size = 6.233620  
Voltage = 40.000000

2. This report: [https://drive.google.com/file/d/1m9efFsZeg-QDvd6ku4wmUxFhE12sq71B/view?usp=sharing](https://drive.google.com/file/d/1m9efFsZeg-QDvd6ku4wmUxFhE12sq71B/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [May 21, 2019, 5:55pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/4 "2019-05-21T17:55:10Z")

</div>

Report shows pixel resolution as 6.23 micrometer. I would try that for all axes

---

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [May 22, 2019, 6:51pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/5 "2019-05-22T18:51:38Z")

</div>

muratmaga@ I tried do this, but Sagittal and Coronal images are completely black.  
Result:

 ![tentativa1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/6/d699d7025b524fa05a690b87cdfb1a91b2d2f30d.png)

I understanded that If I reduce the number in third box of the Image Spacing the size of line that appears in the sagittal and coronal planes also decrease.

Image Spacing = 0.5mm

 ![5mm](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/6/56877fa1e839de9d8e65028e674b80961863dc81.png)  
Image Spacing = 0.05mm ![05mm](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/c/5cd0d756500b2c5019fa7eb78baea11e6688c4e4.png)

---

<div class="post-metadata">

**Author:** ![tsehrhardt](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tsehrhardt/32/18470_2.png) [@tsehrhardt](https://discourse.slicer.org/u/tsehrhardt)\
**Post date:** [May 24, 2019, 5:35pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/6 "2019-05-24T17:35:28Z")

</div>

From your screenshots, you only have 1 tiff file loaded rather than a stack.

You can import the tiff stack as an image sequence in Fiji or ImageJ and save as NRRD–you can also set the Image Resolution before saving the NRRD, then import the NRRD into Slicer.

---

<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:** [May 26, 2019, 11:59am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/7 "2019-05-26T11:59:11Z")

</div>

Conversion to nrrd using Fiji is a good option for special image formats, but in general you can import a tiff stack directly into Slicer by unchecking “single file” option in “Add data” window. See details [here](https://www.slicer.org/wiki/Documentation/Nightly/FAQ/UserInterface#How_to_load_data_from_a_sequence_of_jpg.2C_tif.2C_or_png_files.3F).

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [May 26, 2019, 7:16pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/8 "2019-05-26T19:16:10Z")

</div>

@vinipaegle.

I meant that all values in your Image Spacing setting should be 0.00624, as you appear to have scan that has isotropic voxel size. Once you set that up, use the little square icon on the slice view to adjust the zoom level for each view.

---

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [May 31, 2019, 6:31pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/9 "2019-05-31T18:31:50Z")

</div>

@tsehrhardt,

Thankyou. I imported the tiff stack as an image sequence in ImageJ and saved as tiff because I didn´t find nrrd. Then when I imported in 3D Slicer, the three views appears correctly proportionally,but I am not sure, and the images appears much greater that it really is.  
Image of 3D Slicer:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/e/4eae760660e43733efd1f0172a03f96a5dfbe862.jpeg)  
The real image: ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/1/4133d15a9da7d457acbf5aefd8315d5a408389bb.png)

---

<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:** [May 31, 2019, 7:57pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/10 "2019-05-31T19:57:59Z")

</div>

TIFF format cannot store slice spacing, and the volume does not look stretched out, so it means that scaling is incorrect on all axes now. You can fix it by setting known spacing value in Volumes module as written above.

---

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [May 31, 2019, 11:27pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/11 "2019-05-31T23:27:14Z")

</div>

@muratmaga  
Thank you very much! I have made your suggestion and the images now appear to be correct.  
The problem solved:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/8/2842c6cadcea654b4fccc643ff7e8ca867a99592.jpeg)

---

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [June 1, 2019, 12:33am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/12 "2019-06-01T00:33:17Z")

</div>

@lassoan

When I impoted my datas I checked if the "single file was unchecked and was.But even so I had the sam problem with sagital and coronal planes. I belive the suggestion of muratmaga solved my problem.  
But whicht are special image formats?

---

<div class="post-metadata">

**Author:** ![vinipaegle](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vinipaegle](https://discourse.slicer.org/u/vinipaegle)\
**Post date:** [June 1, 2019, 12:42am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/13 "2019-06-01T00:42:41Z")

</div>

@lassoan

Thankyou for your explication. But I don´t understand two things

1. The format tiff is bad to import
2. What you want sat say with " and the volume does not look stretched out"?. The image wasn’t distorced, the problem is just scale?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 1, 2019, 3:39pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/14 "2019-06-01T15:39:40Z")

</div>

Tiff is not ‘bad’ per se, just not convenient for this kind of data.

Tiff format does not have a way to preserve the voxel spacing you manually entered. Therefore, every time you import that dataset, you will have to manually enter those spacing values. Because of this, and various other reasons, people prefer to convert their image sequences into a volumetric formats such as NRRD, Nifti (nii) and others.

Once you imported your data and corrected the voxel spacing, all you need to do is to save it as a NRRD file through Slicer’s save dialogbox. After that you can open it in Slicer without having to worry about these issues. Here is a list of file formats support by Slicer:  
[https://www.slicer.org/wiki/Documentation/4.10/SlicerApplication/SupportedDataFormat](https://www.slicer.org/wiki/Documentation/4.10/SlicerApplication/SupportedDataFormat)

---

<div class="post-metadata">

**Author:** ![tsehrhardt](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tsehrhardt/32/18470_2.png) [@tsehrhardt](https://discourse.slicer.org/u/tsehrhardt)\
**Post date:** [June 1, 2019, 6:41pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/15 "2019-06-01T18:41:40Z")

</div>

You can adjust the spacing in Fiji as well under Image --\> Properties before exporting. For microCT tiffs, I have found that they load quite slowly into Slicer and that’s why I import to Fiji, set the resolution, and save as NRRD–the NRRD loads much faster into Slicer. But yes as @muratmaga mentioned too, even if you set the resolution in Slicer as you did above, you can just save the new NRRD with the correct resolution.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 1, 2019, 10:55pm UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/16 "2019-06-01T22:55:57Z")

</div>

@tsehrhardt what version of the slicer are you using to import image stacks? It used to be slow, but in the last year or so, there is not much of a noticable speed difference between importing into Fiji or slicer for me. The only existing issue, if you import a non-tiff stack into Slicer, you need to run the vectortoscalar conversion.

---

<div class="post-metadata">

**Author:** ![tsehrhardt](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tsehrhardt/32/18470_2.png) [@tsehrhardt](https://discourse.slicer.org/u/tsehrhardt)\
**Post date:** [June 2, 2019, 11:58am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/17 "2019-06-02T11:58:43Z")

</div>

I am currently on Slicer 4.10.1. I haven’t tried importing tiffs in a while, since I automatically use Fiji. I’ll have to try and see if it’s better for me now.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [February 11, 2021, 12:05am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/18 "2021-02-11T00:05:15Z")

</div>

For posterity, [`ImageStacks`](https://github.com/SlicerMorph/SlicerMorph/tree/master/Docs/ImageStacks) in SlicerMorph extension should be close to the performance you can get from FIJI importing an image sequence and saving it as NRRD.

---

<div class="post-metadata">

**Author:** ![tsehrhardt](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tsehrhardt/32/18470_2.png) [@tsehrhardt](https://discourse.slicer.org/u/tsehrhardt)\
**Post date:** [February 11, 2021, 12:52am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/19 "2021-02-11T00:52:22Z")

</div>

Yes ImageStacks is much better than Fiji!

---

<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 13, 2021, 12:53am UTC](https://discourse.slicer.org/t/saggital-and-coronal-view-are-distorted-stretched-out/6868/20 "2021-03-13T00:53:08Z")

</div>

2 posts were split to a new topic: [CT image appears to be distorted](https://discourse.slicer.org/t/ct-image-appears-to-be-distorted/16519)
