[Insight-users] convex hull filter?

Luis Ibanez luis.ibanez at kitware.com
Sat Jan 8 21:57:12 EST 2005


Hi Kingaza,

I'm not aware of any filter in ITK implementing
the convex-hull of a binary image.


Still,...
I don't quite see why would you need
the convex-hull of a region...


Regards,


    Luis



--------------------------
kingaza at gmail.com wrote:
> Hi Luis,
>  
> thx for your answer, but actually, I really need a convex-hull operation.
> could you tell me whether there is some filters to implement such an operation?
> thx for any tips
> 
> regards,
> kingaza
> 
> On Sat, 08 Jan 2005 10:57:54 -0500, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> 
>>Hi Kingaza,
>>
>>You may want to give it a try to the filter:
>>
>>       VotingBinaryHoleFillingImageFilter
>>
>>http://www.itk.org/Insight/Doxygen/html/classitk_1_1VotingBinaryHoleFillingImageFilter.html
>>
>>and
>>
>>       VotingBinaryIterativeHoleFillingImageFilter
>>
>>http://www.itk.org/Insight/Doxygen/html/classitk_1_1VotingBinaryIterativeHoleFillingImageFilter.html
>>
>>The second filter is used for running the first one
>>for a number of iterations.
>>
>>These filters will fill-in holes and cavities in
>>binary images.
>>
>>This is not equivalent to a convex-hull, but...
>>I doubt that you really need a convex-hull operation.
>>
>>It seems that what you need is to remove cavities
>>from the contour... which is what the HoleFilling
>>voting filters do.
>>
>>Note that you will need a CVS version of ITK since
>>these filters were added to the toolkit *after* the
>>release 1.8.
>>
>>   Regards,
>>
>>     Luis
>>
>>------------------------
>>kingaza at gmail.com wrote:
>>
>>
>>>Hi all
>>>
>>>how can i get convex hall from a binary image?
>>>for example
>>>0 0 1 1 1 0            ==>       0 0 1 1 1 0
>>>0 0 0 1 0 0                         0 1 1 1 1 0
>>>0 0 0 1 0 0                         0 1 1 1 1 0
>>>0 1 1 1 1 0                         0 1 1 1 1 0
>>>
>>>I have tried the filter itkHConvexImageFilter
>>>but it doesn't work.
>>>
>>>regards,
>>>kingaza
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>
>>
> 
> 






More information about the Insight-users mailing list