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

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat May 21 11:02:57 EDT 2011


Hi,

You can use a fill hole transform if the shape is well closed or a  
morphological closing transform if it is not.

Regards,

Gaëtan


Le 21 mai 11 à 16:15, LaMoOsH .. a écrit :

> 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 athttp://www.kitware.com/opensource/opensource.html 
>  Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.htmlPlease 
>  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 
>  _____________________________________
> 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

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110521/06783acb/attachment.pgp>


More information about the Insight-users mailing list