@itk-wasm/image-io
Version:
Input and output for scientific and medical image file formats.
13 lines (12 loc) • 562 B
TypeScript
import { Image } from 'itk-wasm';
import ReadImageNodeOptions from './read-image-node-options.js';
/**
* Read an image file format and convert it to the itk-wasm file format
*
* @param {string} serializedImage - Path to input image serialized in the file format
* @param {ReadImageNodeOptions} options - options to cast resulting image type or to only read image metadata
*
* @returns {Promise<Image>} - Image result
*/
declare function readImageNode(serializedImage: string, options?: ReadImageNodeOptions): Promise<Image>;
export default readImageNode;