nd2reader icon indicating copy to clipboard operation
nd2reader copied to clipboard

float64 .nd2 files don't recognize intensities above 2**16-1

Open joaomamede opened this issue 3 years ago • 0 comments

When opening a .nd2 that was deconvolved that has intensity values higher than 65535.0, they don't get recognized and the image doesn't render well.

from nd2reader import ND2Reader
a = ND2Reader('./WellC05_ChannelFITC (Em),mRuby3,DIC_Seq0007.nd2')
a.bundle_axes ='zyx' 
a.iter_axes = 'c'
a[0].dtype
a[0].max()

In this example, only the green signal is over 2**16-1 in intensity. The green signals that are higher show up as nan or 0 image

joaomamede avatar May 28 '22 16:05 joaomamede