|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.ColorPalette
public class ColorPalette
A class to encapsulate color palettes, including serialization and deserialization to and from standard DICOM color palette IODs.
May be used as a base class for specific standard or private color palettes.
| Field Summary | |
|---|---|
protected String[] |
alternateContentDescription
|
protected String[] |
alternateContentLanguageCodeMeaning
|
protected String[] |
alternateContentLanguageCodeValue
|
protected byte[] |
blue
|
protected String |
contentCreatorName
|
protected String |
contentDescription
|
protected String |
contentLabel
|
protected byte[] |
green
|
protected byte[] |
iccProfile
|
protected AttributeList |
list
|
protected byte[] |
red
|
protected String |
referenceEncodedInstanceURL
|
protected String |
sopInstanceUID
|
| Constructor Summary | |
|---|---|
protected |
ColorPalette()
|
| Method Summary | |
|---|---|
protected void |
createDICOMInstance(String dicomFileName,
String iccProfileFileName,
String aet)
Create a DICOM color palette storage instance from the palette characteristics. |
AttributeList |
getAttributeList()
|
String |
getContentDescription()
|
String |
getContentLabel()
|
byte[] |
getICCProfile()
|
String |
getReferenceEncodedInstanceURL()
|
String |
getSOPInstanceUID()
|
static void |
main(String[] arg)
Create a DICOM color palette storage instance from the palette characteristics. |
void |
setICCProfileFromFile(String filename)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String sopInstanceUID
protected String contentLabel
protected String contentDescription
protected String contentCreatorName
protected String referenceEncodedInstanceURL
protected String[] alternateContentDescription
protected String[] alternateContentLanguageCodeValue
protected String[] alternateContentLanguageCodeMeaning
protected byte[] red
protected byte[] green
protected byte[] blue
protected byte[] iccProfile
protected AttributeList list
| Constructor Detail |
|---|
protected ColorPalette()
| Method Detail |
|---|
public String getSOPInstanceUID()
public String getContentLabel()
public String getContentDescription()
public String getReferenceEncodedInstanceURL()
public byte[] getICCProfile()
public void setICCProfileFromFile(String filename)
throws IOException
IOException
public AttributeList getAttributeList()
throws DicomException
DicomException
protected void createDICOMInstance(String dicomFileName,
String iccProfileFileName,
String aet)
throws IOException,
DicomException
Create a DICOM color palette storage instance from the palette characteristics.
dicomFileName - to writeiccProfileFileName - to readaet - our Application Entity Title to include in the metaheader
IOException
DicomExceptionpublic static void main(String[] arg)
Create a DICOM color palette storage instance from the palette characteristics.
arg - one ortwo arguments, the name of the DICOM file to write, and optionally the name of a file containing the ICC profile to include
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||