| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dcm4che2.image.VOIUtils
public class VOIUtils
| Constructor Summary | |
|---|---|
| VOIUtils() | |
| Method Summary | |
|---|---|
| static int[] | calcMinMax(DicomObject img,
           java.awt.image.Raster raster)Gets the min/max value from a data buffer, in the raw pixel data | 
| static boolean | containsVOIAttributes(DicomObject dobj)Return true if the specified object contains some type of VOI attributes at the current level (ie window level or VOI LUT sequence) | 
| static DicomObject | getLUT(DicomObject dobj,
       int sqTag) | 
| static float[] | getMinMaxWindowCenterWidth(DicomObject img,
                           DicomObject pr,
                           int frame,
                           java.awt.image.Raster raster)This method returns the minimum and maximum window center widths, based on the Modality LUT and image information. | 
| static boolean | isModalityLUTcontainsPixelIntensityRelationshipLUT(DicomObject img)Return true if the specified image object contains a pixel intensity relationship LUT, based on SOP class | 
| static boolean | isModalityLUTcontainsPixelIntensityRelationshipLUT(java.lang.String uid)Return true if the specified SOP class contains a pixel intensity relationship LUT | 
| static DicomObject | selectModalityLUTObject(DicomObject img,
                        DicomObject pr,
                        int frame)Finds the applicable DicomObject containing the Modality LUT information for the given frame within the image. | 
| static DicomObject | selectVoiItemFromPr(java.lang.String iuid,
                    DicomObject pr,
                    int frame)Searches for a Softcopy VOI LUT Sequence for the given frame, or one for just the SOP instance. | 
| static DicomObject | selectVoiObject(DicomObject img,
                DicomObject pr,
                int frame)Finds the applicable DicomObject containing the VOI LUT information for the given frame within the image. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public VOIUtils()
| Method Detail | 
|---|
public static boolean containsVOIAttributes(DicomObject dobj)
public static DicomObject getLUT(DicomObject dobj,
                                 int sqTag)
public static boolean isModalityLUTcontainsPixelIntensityRelationshipLUT(DicomObject img)
public static boolean isModalityLUTcontainsPixelIntensityRelationshipLUT(java.lang.String uid)
public static DicomObject selectModalityLUTObject(DicomObject img,
                                                  DicomObject pr,
                                                  int frame)
img - pr - frame - 
public static DicomObject selectVoiObject(DicomObject img,
                                          DicomObject pr,
                                          int frame)
img - db - 
public static DicomObject selectVoiItemFromPr(java.lang.String iuid,
                                              DicomObject pr,
                                              int frame)
iuid - Image UIDpr - GSPS object to select from.frame - number. Use 0 to select any VOI applying to all frames of the
            UID (that is, no referenced frame number sub-object is
            present.)
public static float[] getMinMaxWindowCenterWidth(DicomObject img,
                                                 DicomObject pr,
                                                 int frame,
                                                 java.awt.image.Raster raster)
img - pr - Is the GSPS to apply to the object.frame - is the frame numberraster - 
public static int[] calcMinMax(DicomObject img,
                               java.awt.image.Raster raster)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||