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) • 420 B
TypeScript
import Image from './interface-types/image.js';
import CastImageOptions from './cast-image-options.js';
/**
* Cast an image to another PixelType and/or ComponentType
*
* @param {Image} image - The input image
* @param {CastImageOptions} options - specify the componentType and/or pixelType of the output
*/
declare function castImage(inputImage: Image, options?: CastImageOptions): Image;
export default castImage;