[Insight-users] problems with itkErode/DilateImageFilters

Corinna Vehlow corinna.vehlow at icr.ac.uk
Tue Dec 16 06:29:57 EST 2008


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081216/674cfcb1/attachment.htm>


More information about the Insight-users mailing list