getHuValue Method

Summary

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

x** and
y**.

Syntax
TypeScript
JavaScript
getHuValue = function( 
   frame, 
   x, 
   y, 
   data 
) 
static getHuValue( 
   frame: Frame, 
   x: number, 
   y: number, 
   data: number 
): string; 

Parameters

frame

The frame that contains the information of the image

data**.

x

The x-axis coordinate of the pixel.

y

The y-axis coordinate of the pixel.

data

The image data pixel value, pass -1 to retrieve the data from info.

Return Value

Character string that represents the Hounsfield's unit (HU) equivalent to the pixel value specified by x and y.

Example

Refer to ProbeToolAction

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.