# \#lung-ct

**URL:** https://discourse.itk.org/tag/lung-ct/250.md

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

---

## [Centering an Image](https://discourse.itk.org/t/centering-an-image/6126)

<div class="topic-metadata">

**Author:** [@VHK](https://discourse.itk.org/u/VHK)\
**Replies:** 2\
**Last updated:** [August 4, 2023, 8:33am UTC](https://discourse.itk.org/t/centering-an-image/6126 "2023-08-04T08:33:44Z")

</div>

Hello, I have implemented the following code to move the center of gravity to the center of the image. The resulting image does not appear to be properly centered as expected. import itk import SimpleITK as sitk commo…
