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.

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