<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY dir=ltr>
<DIV>I read in the documentation somewhere that the watershed needs a
floating-point data type as input , and programmed my use of this filter
accordingly.</DIV>
<DIV> </DIV>
<DIV>In any case, for the watershed algorithm itself to make sense, you
would need a data type on which you could define ordering (greater than, less
than, equal to) ... which is not true for RGB data. I cast my (integer value)
data to a float before using watershed on it and it works fine except for that
bug I mentioned a while ago. In principle you should be able to watershed the
red value, or the intensity, or any other scalar-valued feature of the rgb
image; I expect that filters to extract these are already available. </DIV>
<DIV> </DIV>
<DIV>Robert</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B>
insight-users-bounces@itk.org on behalf of Kevin H. Hobbs
<BR><B>Sent:</B> Mon 03/01/2005 16:26 <BR><B>To:</B> Insight Users List
<BR><B>Cc:</B> <BR><B>Subject:</B> [Insight-users] Watershed Segmentation of
3D RGB Image<BR><BR></FONT></DIV>
<DIV> </DIV></BLOCKQUOTE>
</BODY>
</HTML>