org.dcm4che2.iod.module.lut
Interface ILut

All Known Implementing Classes:
RescaleLut, WindowLevelLut

public interface ILut

Defines a general pixel value lookup table.

Since:
07.15.2006
Version:
Revision $Date:$
Author:
bwallace

Method Summary
 float lookup(float value)
          This method handles lookup of float values - this may interpolate between pixel values, or otherwise modify values.
 int lookup(int value)
          This method just looks up the integer or short values directly
 

Method Detail

lookup

float lookup(float value)
This method handles lookup of float values - this may interpolate between pixel values, or otherwise modify values.

Parameters:
Grayscale - value to lookup in the lookup table.
Returns:
looked up value.

lookup

int lookup(int value)
This method just looks up the integer or short values directly

Parameters:
value - to convert to float, use the float lookup
Returns:
the int cast response from the float lookup.


Copyright © 2011 dcm4che. All Rights Reserved.