[Insight-users] problems with itkErode/DilateImageFilters

Karthik Krishnan karthik.krishnan at kitware.com
Tue Dec 16 07:05:34 EST 2008


Corinna:

Thanks for the report. You are going to have to contribute a minimal 
test case, for the developers to be able to track this down.

--
karthik

Corinna Vehlow wrote:
> Hello everybody,
>
> I actually working at the Institute of Cancer Research on the 
> development of a plugin for the Slicer3 open source tool for tumour 
> segmentation. I'm using morphological operations as post-processing to 
> fill small gaps etc. I've tried 
> the  itkGrayscaleErode/DilateImageFilter.h 
> and itkErode/DilateObjectMorphologyImageFilter.h , both worked pretty 
> well on Windows, but now that I got a new machine (a MAC) at my 
> workplace, some problems occur. The results are not the same in every 
> case in comparison to the segmentation output, when running the tool 
> under Windows. The segmentation results without any morphological 
> operations are the same, but with post-processing they are not. My 
> post-processing consists of a dilation first and erosion as second 
> operation (so closing). The weird thing is, that as long as I run my 
> region growing segmentation on a few number of seed points (max. 4), 
> the morphological operations are working correctly, and the results of 
> the post-processing are the same, as under Windows. But if I select 
> more then 4 (it doesn't matter which one I select), the labels 
> (segmented regions) are shrinking extremely instead of growing or even 
> disappearing at all, if the region is small. Some times the whole 
> label-map is empty after post-processing.
>
> Can anybody help me or tell my how to fix this?
>
> Thanks a lot!
>
> All the best
> Corinna
>
>
> The Institute of Cancer Research: Royal Cancer Hospital, a charitable 
> Company Limited by Guarantee, Registered in England under Company No. 
> 534147 with its Registered Office at 123 Old Brompton Road, London SW7 
> 3RP.
>
> This e-mail message is confidential and for use by the addressee only. 
> If the message is received by anyone other than the addressee, please 
> return the message to the sender by replying to it and then delete the 
> message from your computer and network.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>   

-- 
Karthik Krishnan
R & D Engineer,
Kitware Inc,
Ph:  518 371 3971 x119
Fax: 518 371 3971



More information about the Insight-users mailing list