[Insight-users] Multi-Spectral segmentation, K-means and Python wrapping
Luis Ibanez
luis.ibanez at kitware.com
Tue Sep 23 11:16:28 EDT 2008
Hi Tom,
My only suggestion could be to add the KMeans filter to the set of
wrapped filters.
You may want to give it a shot by looking at other wrapped filters
in the Insight/Wrapping directory.
Are you using WrapITK ?
In that case, Gaetan will be the best person to provide advice.
Another option is to take a full ITK pipeline (instead of every
individual class) and wrapping for Python. In that way you will
have access to a higher-level segmentation algorithm.
Regards,
Luis
---------------
Tom Nash wrote:
> Hi Luis\All
>
> I was going through the example and I think ImageKmeansModelEstimator is
> a good way to go ahead with K-Means. But my basic problem is I'm using
> ITK wrapped with Python and hence none of the C++ classes and header
> files are available in my Python module. Porting all of the code might
> be a tiresome task. Do you have any suggestions on how to proceed.
>
> Regards
> Tom
>
>
> > Date: Fri, 19 Sep 2008 09:28:43 -0400
> > From: luis.ibanez at kitware.com
> > To: tomnash1 at hotmail.com
> > CC: insight-users at itk.org
> > Subject: Re: [Insight-users] Multi-Spectral segmentation
> >
> >
> >
> > Hi Tom,
> >
> > For running K-Means on a multi-spectral image you may want to use:
> >
> >
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1ImageKmeansModelEstimator.html
> >
> >
> > Regards,
> >
> >
> > Luis
> >
> >
> > ---------------
> > Tom Nash wrote:
> > > Hi Luis
> > >
> > > Thank you for letting me know. I am Thinking to first segment a single
> > > MRI using K-means and later try multi-spectral segmentation on the
> other
> > > slices. Any pointers for k-means other than the K-means classification
> > > example given in the guide?
> > >
> > > Regards
> > > Tom Nash
> > >
> > > > Date: Sun, 14 Sep 2008 10:50:48 -0400
> > > > From: luis.ibanez at kitware.com
> > > > To: tomnash1 at hotmail.com
> > > > CC: insight-users at itk.org
> > > > Subject: Re: [Insight-users] Multi-Spectral segmentation
> > > >
> > > >
> > > > Hi Tom,
> > > >
> > > > You may want to explore the following:
> > > >
> > > > 1) Region Growing with based on Mahalanobis distance.
> > > >
> > >
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1VectorConfidenceConnectedImageFilter.html
> > > >
> > > >
> > > > 2) Statistical classifiers
> > > >
> > > > See examples in
> > > >
> > > > Insight/Examples/Statistics
> > > >
> > > >
> > > >
> > > > Regards,
> > > >
> > > >
> > > > Luis
> > > >
> > > >
> > > > --------------
> > > > Tom Nash wrote:
> > > > > Hi all
> > > > >
> > > > > I wish to implement a multi-spectral segmentation of Brain
> MRIs. Any
> > > > > pointers on how to go about doing doing it? I am familiar with 2D
> > > > > segmentations using thresholding and region growing techniques.
> I am
> > > > > planning to use ITK wrapped with Python for this. Do I need
> ITK-SNAP?
> > > > >
> > > > > Regards
> > > > > Tom
> > > > >
> > > > > _______________________________________________
> > > > > Insight-users mailing list
> > > > > Insight-users at itk.org
> > > > > http://www.itk.org/mailman/listinfo/insight-users
> > >
> > >
> ------------------------------------------------------------------------
> > > Watch useful tips on recipes, fitness, yoga and fashion only on MSN
> > > videos. Try it! <http://video.msn.com/?mkt=en-in>
>
> ------------------------------------------------------------------------
> Watch useful tips on recipes, fitness, yoga and fashion only on MSN
> videos. Try it! <http://video.msn.com/?mkt=en-in>
More information about the Insight-users
mailing list