[Insight-users] Applying labels from KmeansModelEstimator to input image pixels
Dawood Masslawi
masslawi at gmail.com
Thu Nov 11 20:33:06 EST 2010
Dear David,
I think using the ImageToListSampleAdaptor seems reasonable since you can easily
access the coordination of the pixels using an IteratorWithIndex after the labeling process
is done, this way you can input the ListSampleAdaptor all at once instead of iterating over
the image.
Another approach could be using the itkScalarImageKmeansImageFilter and then
using a IteratorWithIndex to access the coordination of the pixels but I'm not sure
how would a decision rule fit in that scenario.
Regards,
Dawood Masslawi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101111/de66bdb2/attachment.htm>
More information about the Insight-users
mailing list