Class PrivatePixelData


  • public class PrivatePixelData
    extends java.lang.Object

    This class includes standard and private mechanisms for handling float or double Pixel Data.

    • Field Detail

      • pixelmedPrivateCreatorForFloatOrDoublePixelData

        public static final java.lang.String pixelmedPrivateCreatorForFloatOrDoublePixelData
        See Also:
        Constant Field Values
      • pixelmedPrivatePixelDataGroup

        public static final int pixelmedPrivatePixelDataGroup
        See Also:
        Constant Field Values
      • pixelmedPrivateFloatPixelData

        public static final AttributeTag pixelmedPrivateFloatPixelData
      • pixelmedPrivateDoublePixelData

        public static final AttributeTag pixelmedPrivateDoublePixelData
    • Constructor Detail

      • PrivatePixelData

        public PrivatePixelData()
    • Method Detail

      • getPixelData

        public static Attribute getPixelData​(AttributeList list)

        Returns the Attribute that contains the Pixel Data.

        Handles standard and private float or double alternatives to the conventional (0x7FE0,0x0010).

        Parameters:
        list - the AttributeList to search
        Returns:
        the Attribute or null if not found
      • replacePixelData

        public static void replacePixelData​(AttributeList list,
                                            Attribute aPixelData)
                                     throws DicomException

        Add or replace the Pixel Data.

        Removes any existing (private) group containing pixel data, including the private creator .

        Handles (various private) float or double alternatives to the conventional (0x7FE0,0x0010).

        Parameters:
        list - the AttributeList to search
        Throws:
        DicomException - if an error occurs