Click or drag to resize

DicomImageGetAtalaImage Method (AtalaImage, Int32, Int32)

Transforms the DicomImage into the given AtalaImage, applying the window and leveling.

Namespace:  Atalasoft.Imaging.Codec.Dicom
Assembly:  Atalasoft.dotImage.Dicom (in Atalasoft.dotImage.Dicom.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void GetAtalaImage(
	AtalaImage image,
	int window,
	int leveling
)

Parameters

image
Type: Atalasoft.ImagingAtalaImage
A non-null AtalaImage into which the image data will be transformed. The image must match the Width, Height and PixelFormat properties of the DicomImage object.
window
Type: SystemInt32
An integer representing the center point of the window.
leveling
Type: SystemInt32
An integer representing the size of the window.
Remarks
If ImageCameFromSignedSamples is true, in most cases it is best to add ImageDataShiftedBy to the window value.
See Also