LEADTOOLS JavaScript (Leadtools.Controls.Medical)

PrepareImageData Method

Show in webframe
Creates a new array that contains the image data, where each pixel value is stored in one array element.
Syntax
 function Leadtools.Controls.Medical.DICOMImageInformation.prepareImageData()

Return Value

TypeDescription
int A new array that contains the modified / prepared image data.
Remarks

Each image pixel will be stored in one element of the returned array, regardless of the image BPP. For example, if the image is 16 BPP, then each two successive bytes will be combined together and stored in one array element, but if the image is 8 BPP, then each byte will be stored in one array element.

You must call this after you have retrieved the image data, in order for the window level to function correctly.

See Also

Reference

DICOMImageInformation Object
DICOMImageInformation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.