Class ColorPalette

    • Field Detail

      • sopInstanceUID

        protected java.lang.String sopInstanceUID
      • contentLabel

        protected java.lang.String contentLabel
      • contentDescription

        protected java.lang.String contentDescription
      • contentCreatorName

        protected java.lang.String contentCreatorName
      • referenceEncodedInstanceURL

        protected java.lang.String referenceEncodedInstanceURL
      • alternateContentDescription

        protected java.lang.String[] alternateContentDescription
      • alternateContentLanguageCodeValue

        protected java.lang.String[] alternateContentLanguageCodeValue
      • alternateContentLanguageCodeMeaning

        protected java.lang.String[] alternateContentLanguageCodeMeaning
      • red

        protected byte[] red
      • green

        protected byte[] green
      • blue

        protected byte[] blue
      • iccProfile

        protected byte[] iccProfile
    • Constructor Detail

      • ColorPalette

        protected ColorPalette()
    • Method Detail

      • getSOPInstanceUID

        public java.lang.String getSOPInstanceUID()
      • getContentLabel

        public java.lang.String getContentLabel()
      • getContentDescription

        public java.lang.String getContentDescription()
      • getReferenceEncodedInstanceURL

        public java.lang.String getReferenceEncodedInstanceURL()
      • getICCProfile

        public byte[] getICCProfile()
      • setICCProfileFromFile

        public void setICCProfileFromFile​(java.lang.String filename)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • createDICOMInstance

        protected void createDICOMInstance​(java.lang.String dicomFileName,
                                           java.lang.String iccProfileFileName,
                                           java.lang.String aet)
                                    throws java.io.IOException,
                                           DicomException

        Create a DICOM color palette storage instance from the palette characteristics.

        Parameters:
        dicomFileName - to write
        iccProfileFileName - to read
        aet - our Application Entity Title to include in the metaheader
        Throws:
        java.io.IOException - if an I/O error occurs
        DicomException - if error in DICOM encoding