|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.images.transforms.VOITransform
public class VOITransform
A transformation constructed from a DICOM attribute list that extracts those attributes that define the VOI LUT transformation, specifically the window center and width attributes.
Looks first for a per-frame functional group FrameVOILUTSequence then looks in the shared functional groups, otherwise tries to find the Window Center and Width values in the top level of the dataset.
Note that multiple transformations (for each frame) may be present and are supported (specifically, Window Center and Width are multi-valued attributes).
Does not currently support a LUT in the VOI LUT Sequence, only linear window values.
| Constructor Summary | |
|---|---|
VOITransform(DataSet list)
|
|
| Method Summary | |
|---|---|
double |
getCenter(int frame,
int transform)
Get the window center of the particular transform available for a particular frame. |
int |
getNumberOfTransforms(int frame)
Get the number of transforms available for a particular frame. |
double |
getWidth(int frame,
int transform)
Get the window width of the particular transform available for a particular frame. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VOITransform(DataSet list)
list - | Method Detail |
|---|
public int getNumberOfTransforms(int frame)
frame - numbered from zero; needed to select which transform if frame-specific
public double getWidth(int frame,
int transform)
frame - numbered from zero; needed to select which transform if frame-specifictransform - numbered from zero; needed to select which transform if more than one for that frame
public double getCenter(int frame,
int transform)
frame - numbered from zero; needed to select which transform if frame-specifictransform - numbered from zero; needed to select which transform if more than one for that frame
public final String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||