[Insight-users] are itkConnectedComponentImageFilter and itkBinaryDilateImageFilter

Luis Ibanez luis.ibanez at kitware.com
Sun Nov 15 10:48:26 EST 2009


Hi Baoyun,

The two filters:

* itk::ConnectedComponentImageFilter     and
* itk::BinaryDilateImageFilter


Operate in Voxel (pixel) space.

They DO NOT take the image spacing into account.


You may want to resample you image off spacings:

      0x6 x 0.6 x 2.5 mm

into an isotropic image with spacing

      0x x 0.6 x 0.6333

(e.g. splitting Z slices into three).

In this way, the operations of the Connectivity and Morphology
filters will be closer to the intuitive expectations.


      Regards,


           Luis


-----------------------
On Fri, Nov 13, 2009 at 2:38 PM, Baoyun Li <baoyun_li123 at yahoo.com> wrote:
> Dear All:
>
> Can somebody tell me whetehr itkConnectedComponentImageFilter and
> itkBinaryDilateImageFilter are operated on the physical space or voxel
> space.
> I have 0.6mmx0.6mmx2.5 mm ct data and want to do some morphorlogical
> operation.
>
> I think the performance will be affected if the morphorlogical operation is
> done on voxel space.
>
> So please guid me wheter those filters are operated on physical space? If
> not, what should I do.
>
>
> Thanks
>
> Baoyun
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list