Managing NaN values

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Managing NaN values

Philippe GENDRE
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.

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.

Thanks.

Philippe
Reply | Threaded
Open this post in threaded view
|

Re: Managing NaN values

Rasband, Wayne (NIH/NIMH) [E]
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