[Insight-users] How to fill the hole in itk

LaMoOsH .. xlolla28x at hotmail.com
Sat May 21 10:15:00 EDT 2011


Hi, 
 
i use to have the same problem with an image that has holes in the middle, some of them where big, 
i applied dilation on the region and the holes were filled. Just use a large structuring element. 
not sure if this is the right way, i am a beginier,, but it did work well with me :)
 
goodluck
 

 


Date: Sat, 21 May 2011 20:44:17 +0800
From: mrvillage at 163.com
To: insight-users at itk.org
Subject: [Insight-users] How to fill the hole in itk


hello everyone,
i want to fill the hole in a binary image.the binary image looks like a  CD,on which the center region are black (pixel-wise=0),how can i fill the center region.(of course my image to be processed is not a standard disk shape).
i tried itkVotingBinaryHoleFillingImageFilter,but it only fill some small hole(some neighbours),however i wanna fill a large region,does any other image filer fulfill such kind of task?
Thanks 
Quan


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


More information about the Insight-users mailing list