UNPKG

@itk-wasm/image-io

Version:

Input and output for scientific and medical image file formats.

15 lines (10 loc) 620 B
import { IntTypes, FloatTypes, PixelTypes } from 'itk-wasm' interface ReadImageNodeOptions { /** Component type, from itk-wasm IntTypes, FloatTypes, for the output pixel components. Defaults to the input component type. */ componentType?: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes] /** Pixel type, from itk-wasm PixelTypes, for the output pixels. Defaults to the input pixel type. */ pixelType?: typeof PixelTypes[keyof typeof PixelTypes] /** Only read image metadata -- do not read pixel data. */ informationOnly?: boolean } export default ReadImageNodeOptions