Hi all,<br><br>I am using the watersheds segmentation  WatershedSegmentation1.cxx in order to segment my image into quasi-homogeneous regions.<br>However what I get in the end is a color coded representation of the regions, that if i understand right codes each label using 3 byte, one for each color.<br>
<br>I would like to label the regions more simply by just assigning an &quot;int&quot; or a &quot;float&quot; to each region. In few woords I would like my output to be an Image  of intergers or <br>floating point numbers. <br>
 <br>Is there an easy way to do this in the ITK code?<br><br>Thank you.<br><br>            <br clear="all"><br>-- <br>Marco G.<br>