File I/O » DIPjavaio module

An interface to Java file I/O functionality

Contents

Namespaces

namespace dip::javaio
Contains all functionality for DIPjavaio.

Functions

auto dip::javaio::ImageReadJavaIO(dip::Image& out, dip::String const& filename, dip::String const& interface = bioformatsInterface) -> dip::FileInformation
Reads the image in a file filename recognized by a Java interface and puts it in out.

Function documentation

dip::FileInformation dip::javaio::ImageReadJavaIO(dip::Image& out, dip::String const& filename, dip::String const& interface = bioformatsInterface)

Reads the image in a file filename recognized by a Java interface and puts it in out.

interface can be one of:

  • "org/diplib/BioFormatsInterface": The openmicroscopy.org Bio-Formats package (default). Can read over 140 different image file formats. Limitation: each x-y plane of a (multi-dimensional) image must occupy no more than 2 GB when uncompressed, and each individual dimension must be smaller than 231-1.

Information about the file and all metadata are returned in the dip::FileInformation output argument.