# Lung CT Segmentation

**URL:** https://discourse.slicer.org/t/lung-ct-segmentation/26677
**Category:** Support
**Tags:** segmentation, lung
**Created:** [December 10, 2022, 6:23pm UTC](https://discourse.slicer.org/t/lung-ct-segmentation/26677 "2022-12-10T18:23:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Paula\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paula_r/32/17629_2.png) [@Paula\_R](https://discourse.slicer.org/u/Paula_R)
#### Post date: [December 10, 2022, 6:23pm UTC](https://discourse.slicer.org/t/lung-ct-segmentation/26677/1 "2022-12-10T18:23:43Z")

</div>

Hello,

I’ve watched this video: [COVID-19 lung CT segmentation using 3D Slicer - YouTube](https://www.youtube.com/watch?v=v1-L_niLZxQ)  
and, in Resample Scalar Volume, Spacing (2,2,2) and linear interpolation are recommended, and I’d like to know why these are the recommended values.

I’m working with CT dicom series, with different pixel spacing in the slices in each series, like (x=1.807, y=1.807), (x=0.699, y=0.699), and similar values, and I’d like to know if this pixel spacing of the slices must be taken into account to define the Spacing for resampling.

Thanks

---

<div class="post-metadata">

### Author: ![curtislisle](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@curtislisle](https://discourse.slicer.org/u/curtislisle)
#### Post date: [December 10, 2022, 7:31pm UTC](https://discourse.slicer.org/t/lung-ct-segmentation/26677/2 "2022-12-10T19:31:43Z")

</div>

Hi Paula,  
Slicer can perform the segmentation at different Voxel resolutions. So you would, theoretically, be able to perform segmentation on your images without resampling first. However, in practice, as the volume resolution increases, a more powerful computer and longer processing time will be needed. Voxel spacing of (2,2,2) is a size that provides reasonable resolution for many applications without being too taxing on the computer. Therefore, it is a good resolution to start with. What size is right for you, will depend on your application.

Also, some analytical processes may come out better when the voxels are cubical and not anisotropic. So making the Z plane size the same is also a reasonable setting to start with.

Slicer will take your original volume resolution into account during any resizing operation. Bilinear resampling was recommended because it offers generally good resampling results with less computational cost than options like Bicubic resampling.

In summary, after becoming comfortable with segmentation you  
Might find you want to change these parameters, but they are good initial choices for many applications. I hope this helps.

Curtis

---

<div class="post-metadata">

### Author: ![Paula\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paula_r/32/17629_2.png) [@Paula\_R](https://discourse.slicer.org/u/Paula_R)
#### Post date: [December 11, 2022, 11:21am UTC](https://discourse.slicer.org/t/lung-ct-segmentation/26677/3 "2022-12-11T11:21:50Z")

</div>

Hi Curtis,

yes, this information is very useful. Thank you very much for your answer.

Paula

---

<div class="post-metadata">

### Author: ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)
#### Post date: [December 11, 2022, 11:45am UTC](https://discourse.slicer.org/t/lung-ct-segmentation/26677/4 "2022-12-11T11:45:04Z")

</div>

Maybe check out the video [Automated Lung CT segmentation](https://www.youtube.com/watch?v=fpLxm7uAvZQ) to see a faster solution that includes a (2,2,2) resampling for speed, creates lungs, optionally lobes and airways, and switches back to the original resolution.
