Hi <br><br>I found some bugs in the the filter. Line 186 - we need to do a casting (int)m_LowPoint[rgb] - (int)neighbors[i]). <br>I also found a bug in the number of the classes - the code don't work with more then 2 classes.
<br>I look in the Internet and I found a mail related to it:<br><a href="http://www.itk.org/pipermail/insight-users/2003-December/005915.html">http://www.itk.org/pipermail/insight-users/2003-December/005915.html</a><br><br>
Do you know about the bugs in this filter?<br>Should I use MRF or Gibbs as mentioned in the link?<br> <br>Thanks yoav<br>