[Insight-users] setting values to undefined for division by zero
Dženan Zukić
dzenanz at gmail.com
Mon Mar 11 22:35:12 EDT 2013
Have you thought about setting those values to NaN, running the filter,
then searching for NaNs and calculating them some other way?
On Mon, Mar 11, 2013 at 12:33 PM, Leila Baghdadi
<baghdadi at phenogenomics.ca>wrote:
> Hi everyone
> I am trying to create an inverse filter and need to set the values to
> undefined if they are very close to zero in my original filter.
> later on I need to access these undefined values and set them to
> meaningful ones.
>
> what is the right way to proceed here.
>
> thanks
>
> _____________________________________
> 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.php
>
> 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/20130311/d4745a0b/attachment.htm>
More information about the Insight-users
mailing list