Login  Register

Managing NaN values

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

Managing NaN values

Philippe GENDRE
45 posts
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
| More
Print post
Permalink

Re: Managing NaN values

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