@cornerstonejs/core
Version:
Cornerstone3D Core
22 lines (21 loc) • 751 B
TypeScript
import type { Point3, Mat3, ImagePlaneModule, ImagePixelModule, IImageCalibration } from '../types/index.js';
import type IImage from '../types/IImage.js';
import type { VOILUTFunctionType } from '../enums/index.js';
type ReturnImageDataMetadata = {
imagePlaneModule: ImagePlaneModule;
imagePixelModule: ImagePixelModule;
bitsAllocated: number;
numVoxels: number;
numberOfComponents: number;
origin: Point3;
direction: Mat3;
dimensions: Point3;
spacing: Point3;
voiLUTFunction: VOILUTFunctionType;
modality: string;
scalingFactor: number;
calibration: IImageCalibration;
scanAxisNormal: Point3;
};
export declare function getImageDataMetadata(image: IImage): ReturnImageDataMetadata;
export {};