Fwd: [Insight-users] convex hull filter?
kingaza at gmail.com
kingaza at gmail.com
Mon Jan 10 03:58:41 EST 2005
---------- Forwarded message ----------
From: kingaza at gmail.com <kingaza at gmail.com>
Date: Mon, 10 Jan 2005 16:57:55 +0800
Subject: Re: [Insight-users] convex hull filter?
To: Luis Ibanez <luis.ibanez at kitware.com>
Hi Luis,
Thanks you for your advice
But I can not repeat your experience
I run as: (the result in attatchments)
VotingBinaryHoleFillingImageFilter kidney.png kidneymask1.png 2 2 50
VotingBinaryHoleFillingImageFilter kidney.png kidneymask2.png 3 3 50
VotingBinaryHoleFillingImageFilter kidney.png kidneymask3.png 4 4 50
VotingBinaryHoleFillingImageFilter kidney.png kidneymask4.png 5 5 50
VotingBinaryHoleFillingImageFilter kidney.png kidneymask5.png 5 5 150
I have no idea about this mistake
bty, the version is:
Module: $RCSfile: VotingBinaryIterativeHoleFillingImageFilter.cxx,v $
Language: C++
Date: $Date: 2004/12/28 14:41:45 $
Version: $Revision: 1.3 $
regards,
kingaza
On Sun, 09 Jan 2005 11:11:57 -0500, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
> Hi Kingaza,
>
> Thanks for posting more details about the
> problem that you are trying to solve.
>
> After looking at your images I still think
> that you don't need a full convex-hull.
>
> Please look at the four attached images
> that were produced by running the
>
> VotingBinaryIterativeHoleFillingImageFilter
>
> on the binary mask of the kidney.
>
> This was done directly with the source code
> available at
>
> Insight/Examples/Filtering/
> VotingBinaryIterativeHoleFillingImageFilter
>
> The parameters used where:
>
> Image Radius Iterations
>
> kidneyMask1 2 2 50
> kidneyMask2 3 3 50
> kidneyMask3 4 4 50
> kidneyMask3 5 5 150
>
> The actual iterations performed and number of
> pixel changed were respectively
>
> Image Iterations PixelsChanged
>
> kidneyMask1 5 59
> kidneyMask2 17 186
> kidneyMask3 41 557
> kidneyMask4 134 1916
>
> Please let us know if that processing may fit
> what you need, or if you need any particular
> modification.
>
> Thanks
>
>
> Luis
>
> --------------------------
> kingaza at gmail.com wrote:
>
> > Hi Luis,
> >
> > I want to implement registration opration on kidney image (kidney1.png)
> > considering patient body's motion, I do segmentation first (kidney2.png).
> > and I think it will be more accurate in registration process if I can
> > make use of the other issues.
> > so I want such a filter...
> >
> > regards,
> > kingaza
> >
> >
> > On Sat, 08 Jan 2005 21:57:12 -0500, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> >
> >>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
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kidney.png
Type: image/x-png
Size: 1290 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050110/9488e702/kidney.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kidneymask1.png
Type: image/x-png
Size: 770 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050110/9488e702/kidneymask1.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kidneymask2.png
Type: image/x-png
Size: 762 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050110/9488e702/kidneymask2.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kidneymask3.png
Type: image/x-png
Size: 753 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050110/9488e702/kidneymask3.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kidneymask4.png
Type: image/x-png
Size: 760 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050110/9488e702/kidneymask4.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kidneymask5.png
Type: image/x-png
Size: 760 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050110/9488e702/kidneymask5.bin
More information about the Insight-users
mailing list