itk-wasm
Version:
High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.
12 lines (11 loc) • 640 B
TypeScript
import IntTypes from './int-types.js';
import FloatTypes from './float-types.js';
import PixelTypes from './pixel-types.js';
declare class ImageType {
readonly dimension: number;
readonly componentType: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes];
readonly pixelType: typeof PixelTypes[keyof typeof PixelTypes];
readonly components: number;
constructor(dimension?: number, componentType?: typeof IntTypes[keyof typeof IntTypes] | typeof FloatTypes[keyof typeof FloatTypes], pixelType?: typeof PixelTypes[keyof typeof PixelTypes], components?: number);
}
export default ImageType;