[Insight-users] the overflow of itk::AddImageFilter

robert tamburo robert.tamburo at gmail.com
Tue May 24 09:48:32 EDT 2011


Set the output image to that of floating point pixels. That should get you
the correct values.

2011/5/24 Quan <mrvillage at 163.com>

> hello everyone,
> 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
>  *Warning:*
>     No numeric overflow checking is performed in this filter.
> 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.
> how can i manage it,does any member function of this class provide any
> method that is responble to the overflow?
>
> thanks in advance.
>
> Quan
>
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110524/37df136e/attachment.htm>


More information about the Insight-users mailing list