UNPKG

itk-wasm

Version:

High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.

11 lines (10 loc) 642 B
import IntTypes from './interface-types/int-types.js'; import FloatTypes from './interface-types/float-types.js'; import PixelTypes from './interface-types/pixel-types.js'; interface CastImageOptions { /** 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]; } export default CastImageOptions;