Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
joaomamede opened this issue May 28, 2022 · 0 comments
Open

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

joaomamede opened this issue May 28, 2022 · 0 comments

Comments

@joaomamede
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant