getHuFromData Method

Summary

Gets the Hounsfield's unit (HU) equivalent to the pixel value

data**.

Syntax
TypeScript
JavaScript
getHuFromData = function( 
   info, 
   data 
) 
static getHuFromData( 
   info: DICOMImageInformation, 
   data: number 
): number; 

Parameters

info

The information of the image passed in data.

data

The image data pixel value.

Return Value

Character string that represents the Hounsfield's unit (HU) equivalent to the pixel value data.

Remarks

To get the pixel value by using x and y from a canvas, refer to GetHuValue.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly