[ITK] [ITK-users] Background / Foreground separation

Matt McCormick matt.mccormick at kitware.com
Mon Sep 8 10:52:54 EDT 2014


Hi Zein,

Welcome back! :-)

One possible sequence of filters to obtain the "skin":

OtsuThresholdImageFilter [1]
BinaryShapeKeepNObjectImageFilter (keep only the largest object) [2]
BinaryClosingByReconstructionImageFilter or BinaryFillholeImageFilter [3][4]
BinaryContourImageFilter [5]

HTH,
Matt

[1] http://www.itk.org/Doxygen/html/classitk_1_1OtsuThresholdImageFilter.html

[2] http://www.itk.org/Doxygen/html/classitk_1_1BinaryShapeKeepNObjectsImageFilter.html

[3] http://www.itk.org/Doxygen/html/classitk_1_1BinaryClosingByReconstructionImageFilter.html

[4] http://www.itk.org/Doxygen/html/classitk_1_1BinaryFillholeImageFilter.html

[5] http://www.itk.org/Doxygen/html/classitk_1_1BinaryContourImageFilter.html

On Mon, Sep 8, 2014 at 4:18 AM, Zein Salah <zeinsalah at gmail.com> wrote:
> Hello,
>
> I want to reliably define the main object in CT/MRI image from the
> background. I.e. I want to do some kind of defining the boundary (skin) of
> the patient. Are there filters in ITK dedicated for this? or should I adapt
> filters like the Otsu?
>
> Thanks,
> Zein
>
> Sorry! I have not been using ITK since Release 3.20 :).
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users



More information about the Community mailing list