ImageGear for Java
buildColorLimitsLUT Method
Lower pixel value limit. All pixels at or below this value will be pseudocolored.
An RGB value that will be used to fill (i.e. pseudocolor) the pixels with intensities equal or smaller than lowThreshold.
Higher pixel value limit. All pixels at or above this value will be pseudocolored.
An RGB value that will be used to fill (i.e. pseudocolor) the pixels with intensities equal or greater than highThreshold.
Lookup table to fill. It should contain three single-channel LUTs with input and output depths set to 8.

This method fills the lookup table (LUT) so that it highlights the brightest and darkest pixels in a grayscale image. Use this method to initialize com.accusoft.imagegear.display.ImGearPageDisplay.getLUT method. This is typically used to clearly see pixel values that are over-saturated (255 and up) or under-saturated (0 and below). However, this method lets you to customize the settings for the upper and lower pixel value limits with lowThreshold and highThreshold.

com.accusoft.imagegear.display.ImGearPageDisplay.getLUT value is used on the last stage of display processing, after that all geometric, color space and depth conversions have been done. This allows you to use a 24-bit RGB to 24-bit RGB lookup table for displaying images of any color space and depth.

com.accusoft.imagegear.core.ImGearPixelcom.accusoft.imagegear.core.ImGearRGBLUT

Builds a LUT that highlights image extremes.
Syntax

Parameters

lowThreshold
Lower pixel value limit. All pixels at or below this value will be pseudocolored.
lowFillColor
An RGB value that will be used to fill (i.e. pseudocolor) the pixels with intensities equal or smaller than lowThreshold.
highThreshold
Higher pixel value limit. All pixels at or above this value will be pseudocolored.
highFillColor
An RGB value that will be used to fill (i.e. pseudocolor) the pixels with intensities equal or greater than highThreshold.
lookupTable
Lookup table to fill. It should contain three single-channel LUTs with input and output depths set to 8.

This method fills the lookup table (LUT) so that it highlights the brightest and darkest pixels in a grayscale image. Use this method to initialize com.accusoft.imagegear.display.ImGearPageDisplay.getLUT method. This is typically used to clearly see pixel values that are over-saturated (255 and up) or under-saturated (0 and below). However, this method lets you to customize the settings for the upper and lower pixel value limits with lowThreshold and highThreshold.

com.accusoft.imagegear.display.ImGearPageDisplay.getLUT value is used on the last stage of display processing, after that all geometric, color space and depth conversions have been done. This allows you to use a 24-bit RGB to 24-bit RGB lookup table for displaying images of any color space and depth.

com.accusoft.imagegear.core.ImGearPixelcom.accusoft.imagegear.core.ImGearRGBLUT

See Also

Reference

ImGearDICOM Class
ImGearDICOM Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback