|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.images.transforms.RealWorldValueTransform
public class RealWorldValueTransform
A transformation constructed from a DICOM attribute list that extracts those attributes which describe how stored pixel values are translated into real world values (e.g., Hounsfield Units, cm/s).
Looks first for a per-frame functional group RealWorldValueMappingSequence then looks in the shared functional groups, otherwise tries to find the Rescale Slope and Intercept values in the top level of the dataset.
Note that multiple transformations (for each frame) may be present and are supported.
Does not currently support a LUT in the Modality LUT Sequence, only linear rescale values.
| Constructor Summary | |
|---|---|
RealWorldValueTransform(DataSet aDataSet)
|
|
| Method Summary | |
|---|---|
String |
toString(int frame,
int storedValue)
Given a stored pixel value, return a string containing a description of all known real world values that can be derived from it. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RealWorldValueTransform(DataSet aDataSet)
aDataSet - the dataset of an image object to be searched for transformations| Method Detail |
|---|
public String toString(int frame,
int storedValue)
frame - numbered from zero; needed to select which transform if frame-specificstoredValue - the actual stored pixel value to look up
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||