Skip to main content

Crate nd2_rs

Crate nd2_rs 

Source
Expand description

nd2-rs: Pure Rust library for reading Nikon ND2 microscopy files

This library provides functionality to read metadata from modern ND2 files (versions 2.0, 2.1, and 3.0) created by Nikon NIS Elements software.

§Example

use nd2_rs::Nd2File;

fn main() -> nd2_rs::Result<()> {
    let mut nd2 = Nd2File::open("image.nd2")?;

    println!("Version: {:?}", nd2.version());
    println!("Summary: {:#?}", nd2.summary()?);

    Ok(())
}

Structs§

DatasetSummary
Nd2File
Main reader for ND2 files
SummaryChannel
SummaryScaling

Enums§

Nd2Error

Traits§

ReadSeek
Type-erased readable/seekable source for ND2 parsing.

Type Aliases§

Result