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 23.0.2024.5.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.