[Insight-users] itkKmeansModelEstimator
Karthik Krishnan
karthik.krishnan at kitware.com
Thu Oct 16 12:01:04 EDT 2008
Tom:
You might be looking from ScalarImageKMeansFilter, which will
generate the KMeans followed by a classification based on a
Euclidean minumum distance rule to generate a label map
segmentation of your image.
It internally use the itkKMeansModelEstimator to generate the
KMeans. And then uses a itk::EuclideanDistance in conjuction
with a itk::MinimumDistance rule to generate the label map
based on those means.
hope this helps
On Tue, Oct 14, 2008 at 10:49 PM, Tom Nash <tomnash1 at hotmail.com> wrote:
> Hi Karthik
>
> I am using itkKmeansModelEstimator for k-means segmentation. However i see
> no function to view the output image after classification. The older
> ImageKmeansImageFilter had a kmeansFilter->GetOutput() function, but I see
> no analogous function in the itkKmeansModelEstimator. How do I get the
> output? I want to parse it into the writer object. I am using nifti images.
>
> Please help
>
> Sincerely
> Tom
>
> ________________________________
> Hottest news and in-depth analysis that goes beyond the headlines. Only on
> MSN News Check it out!
--
Karthik Krishnan
R&D Engineer,
Kitware Inc.
Ph: 518 371 3971 x119
Fax: 518 371 3971
More information about the Insight-users
mailing list