Skip to content

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

@joaomamede

Description

@joaomamede

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions