# Segmentation of same intensity bones using ITK

**URL:** https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738
**Category:** Algorithms
**Created:** [July 1, 2024, 8:34am UTC](https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738 "2024-07-01T08:34:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![KSJ](https://discourse.itk.org/user_avatar/discourse.itk.org/ksj/32/4152_2.png) [@KSJ](https://discourse.itk.org/u/KSJ)
#### Post date: [July 1, 2024, 8:34am UTC](https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738/1 "2024-07-01T08:34:19Z")

</div>

Hello everyone,

I have a CT dataset of lower part of human body in DICOM images. I need to separate the femur and tibia bone separately from the dataset. For that obviously i cannot use thresholding because the femur and tibia have same intensities.  
So I have used region growing method, ITK confidence connected image filter, but I cannot able to segment the bone.  
In what logic i should segment ?

---

<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 1, 2024, 1:37pm UTC](https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738/2 "2024-07-01T13:37:43Z")

</div>

That is a non-trivial problem. Take a look at:

> **[Segmentation of Multiple Knee Bones from CT for Orthopedic Knee Surgery Planning](https://link.springer.com/chapter/10.1007/978-3-319-10404-1_47)**
>
> Patient-specific orthopedic knee surgery planning requires precisely segmenting from 3D CT images multiple knee bones, namely femur, tibia, fibula, and patella, around the knee joint with severe pathologies. In this work, we propose a fully...

> **[Fully Automatic Knee Bone Detection and Segmentation on Three-Dimensional MRI](https://www.mdpi.com/2075-4418/12/1/123)**
>
> In the medical sector, three-dimensional (3D) images are commonly used like computed tomography (CT) and magnetic resonance imaging (MRI). The 3D MRI is a non-invasive method of studying the soft-tissue structures in a knee joint for osteoarthritis...

---

<div class="post-metadata">

### Author: ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)
#### Post date: [July 1, 2024, 1:49pm UTC](https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738/3 "2024-07-01T13:49:15Z")

</div>

Hello @KSJ,

I believe [TotalSegmentator](https://github.com/wasserth/TotalSegmentator?tab=readme-ov-file) is able to do this. They have an [online tool](https://totalsegmentator.com/) and you can also use it via the [slicer totalsegmentator extension](https://github.com/lassoan/SlicerTotalSegmentator).
