Login  Register

Re: Managing NaN values

Posted by Rasband, Wayne (NIH/NIMH) [E] on Apr 05, 2011; 4:13pm
URL: http://imagej.273.s1.nabble.com/Managing-NaN-values-tp3685153p3685154.html

On Mar 24, 2011, at 12:13 PM, Philippe GENDRE wrote:

> Dear ImageJ list,
>
> My question is : How are managed/processed the NaN values of a 32 bits image
> ?
>
> Two practical examples :
> - plotting
> - filtering.
>
> When plotting its seems than an infinite negative value is attributed to NaN
> values.

This bug is fixed in ImageJ 1.45e.

> When filtering (median filter) all NaN values are disapeared.
>
> It would be nice for me if  somebody could provide some information about
> NaN values management when datas are processed and plotted.

ImageJ 1.45e adds a Process>Noise>Remove NaNs command that replaces NaNs in 32-bit images with the neighborhood median.

-wayne