<html><head></head><body>Hi,<br><br>would float as output type really give you a "cut-off" at 255? I don't know if there is a filter for that, but you could use image iterators and take care of the correct values yourself.<br><br>HTH<br>Dominique<br><br><table width="100%"><tbody><tr><td bgcolor="blue" width="5"> </td><td>
<div>Set the output image to that of floating point pixels. That should get you the correct values.</div>
<br><div class="gmail_quote">2011/5/24 Quan <span><<a href="mailto:mrvillage@163.com">mrvillage@163.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div>hello everyone,</div>
<div>i got a problem when using AddImageFilter.I want to keep the pixel-wise=255 (for my 8-bits scale images),when the overflow happens ,but the AddImageFilter's has such a description </div>
<div> <b>Warning:</b> </div>
<dl><dd> No numeric overflow checking is performed in this filter. </dd></dl>
<div>i add the segmented contour image(pixels on the contour = 255) and the original image.while i use the AddImageFilter,the overflow happens and i cannot get a meaningful outcome.
<div>how can i manage it,does any member function of this class provide any method that is responble to the overflow?</div>
</div>
<p>thanks in advance.</p>
<p>Quan</p>
<br><br><span title="neteasefooter"><span></span></span>
</div>
<br><br><span title="neteasefooter"><span></span></span><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>
Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>
Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br><br>
Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>
Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br><br>
</blockquote>
</div>
<br>
</td></tr></tbody></table></body></html>