public class MCiconImage extends MCdataSet
The following DICOM attributes can be directly handled through this class:
Constructor and Description |
---|
MCiconImage() |
Modifier and Type | Method and Description |
---|---|
void |
addBluePaletteColorLookupTableDescriptor(java.lang.Integer val)
Adds a value to the 'Blue Palette Color Lookup Table Descriptor' (0028,1103) attribute.
|
void |
addGreenPaletteColorLookupTableDescriptor(java.lang.Integer val)
Adds a value to the 'Green Palette Color Lookup Table Descriptor' (0028,1102) attribute.
|
void |
addPixelAspectRatio(java.lang.String val)
Adds a value to the 'Pixel Aspect Ratio' (0028,0034) attribute.
|
void |
addRedPaletteColorLookupTableDescriptor(java.lang.Integer val)
Adds a value to the 'Red Palette Color Lookup Table Descriptor' (0028,1101) attribute.
|
java.lang.Integer |
getBitsAllocated()
Gets the first value of the 'Bits Allocated' (0028,0100) attribute.
|
java.lang.Integer |
getBitsStored()
Gets the first value of the 'Bits Stored' (0028,0101) attribute.
|
java.lang.Integer |
getBluePaletteColorLookupTableDescriptor()
Gets the first value of the 'Blue Palette Color Lookup Table Descriptor' (0028,1103) attribute.
|
java.lang.Integer |
getBluePaletteColorLookupTableDescriptor(int valueIndex)
Gets a value of the 'Blue Palette Color Lookup Table Descriptor' (0028,1103) attribute.
|
java.lang.Integer |
getColumns()
Gets the first value of the 'Columns' (0028,0011) attribute.
|
MCcommand |
getCommand()
Gets the DIMSE command for this instance.
|
java.lang.Integer |
getGreenPaletteColorLookupTableDescriptor()
Gets the first value of the 'Green Palette Color Lookup Table Descriptor' (0028,1102) attribute.
|
java.lang.Integer |
getGreenPaletteColorLookupTableDescriptor(int valueIndex)
Gets a value of the 'Green Palette Color Lookup Table Descriptor' (0028,1102) attribute.
|
java.lang.Integer |
getHighBit()
Gets the first value of the 'High Bit' (0028,0102) attribute.
|
java.lang.Integer |
getLargestImagePixelValue()
Gets the first value of the 'Largest Image Pixel Value' (0028,0107) attribute.
|
java.lang.String |
getPhotometricInterpretation()
Gets the first value of the 'Photometric Interpretation' (0028,0004) attribute.
|
java.lang.String |
getPixelAspectRatio()
Gets the first value of the 'Pixel Aspect Ratio' (0028,0034) attribute.
|
java.lang.String |
getPixelAspectRatio(int valueIndex)
Gets a value of the 'Pixel Aspect Ratio' (0028,0034) attribute.
|
java.lang.Integer |
getPixelRepresentation()
Gets the first value of the 'Pixel Representation' (0028,0103) attribute.
|
java.lang.Integer |
getPlanarConfiguration()
Gets the first value of the 'Planar Configuration' (0028,0006) attribute.
|
java.lang.Integer |
getRedPaletteColorLookupTableDescriptor()
Gets the first value of the 'Red Palette Color Lookup Table Descriptor' (0028,1101) attribute.
|
java.lang.Integer |
getRedPaletteColorLookupTableDescriptor(int valueIndex)
Gets a value of the 'Red Palette Color Lookup Table Descriptor' (0028,1101) attribute.
|
java.lang.Integer |
getRows()
Gets the first value of the 'Rows' (0028,0010) attribute.
|
java.lang.Integer |
getSamplesPerPixel()
Gets the first value of the 'Samples per Pixel' (0028,0002) attribute.
|
java.lang.String |
getServiceName()
Gets the associated DICOM service name of this instance.
|
java.lang.Integer |
getSmallestImagePixelValue()
Gets the first value of the 'Smallest Image Pixel Value' (0028,0106) attribute.
|
boolean |
isItem()
Tells whether this instance represents a sequence item.
|
void |
removeBitsAllocated()
Removes the the 'Bits Allocated' (0028,0100) attribute from the attributes set.
|
void |
removeBitsStored()
Removes the the 'Bits Stored' (0028,0101) attribute from the attributes set.
|
void |
removeBluePaletteColorLookupTableDescriptor()
Removes the the 'Blue Palette Color Lookup Table Descriptor' (0028,1103) attribute from the attributes set.
|
void |
removeColumns()
Removes the the 'Columns' (0028,0011) attribute from the attributes set.
|
void |
removeGreenPaletteColorLookupTableDescriptor()
Removes the the 'Green Palette Color Lookup Table Descriptor' (0028,1102) attribute from the attributes set.
|
void |
removeHighBit()
Removes the the 'High Bit' (0028,0102) attribute from the attributes set.
|
void |
removeLargestImagePixelValue()
Removes the the 'Largest Image Pixel Value' (0028,0107) attribute from the attributes set.
|
void |
removePhotometricInterpretation()
Removes the the 'Photometric Interpretation' (0028,0004) attribute from the attributes set.
|
void |
removePixelAspectRatio()
Removes the the 'Pixel Aspect Ratio' (0028,0034) attribute from the attributes set.
|
void |
removePixelRepresentation()
Removes the the 'Pixel Representation' (0028,0103) attribute from the attributes set.
|
void |
removePlanarConfiguration()
Removes the the 'Planar Configuration' (0028,0006) attribute from the attributes set.
|
void |
removeRedPaletteColorLookupTableDescriptor()
Removes the the 'Red Palette Color Lookup Table Descriptor' (0028,1101) attribute from the attributes set.
|
void |
removeRows()
Removes the the 'Rows' (0028,0010) attribute from the attributes set.
|
void |
removeSamplesPerPixel()
Removes the the 'Samples per Pixel' (0028,0002) attribute from the attributes set.
|
void |
removeSmallestImagePixelValue()
Removes the the 'Smallest Image Pixel Value' (0028,0106) attribute from the attributes set.
|
void |
setBitsAllocated(java.lang.Integer val)
Sets the value of the 'Bits Allocated' (0028,0100) attribute.
|
void |
setBitsStored(java.lang.Integer val)
Sets the value of the 'Bits Stored' (0028,0101) attribute.
|
void |
setBluePaletteColorLookupTableDescriptor(java.lang.Integer val)
Sets the value of the 'Blue Palette Color Lookup Table Descriptor' (0028,1103) attribute.
|
void |
setColumns(java.lang.Integer val)
Sets the value of the 'Columns' (0028,0011) attribute.
|
void |
setGreenPaletteColorLookupTableDescriptor(java.lang.Integer val)
Sets the value of the 'Green Palette Color Lookup Table Descriptor' (0028,1102) attribute.
|
void |
setHighBit(java.lang.Integer val)
Sets the value of the 'High Bit' (0028,0102) attribute.
|
void |
setLargestImagePixelValue(java.lang.Integer val)
Sets the value of the 'Largest Image Pixel Value' (0028,0107) attribute.
|
void |
setPhotometricInterpretation(java.lang.String val)
Sets the value of the 'Photometric Interpretation' (0028,0004) attribute.
|
void |
setPixelAspectRatio(java.lang.String val)
Sets the value of the 'Pixel Aspect Ratio' (0028,0034) attribute.
|
void |
setPixelRepresentation(java.lang.Integer val)
Sets the value of the 'Pixel Representation' (0028,0103) attribute.
|
void |
setPlanarConfiguration(java.lang.Integer val)
Sets the value of the 'Planar Configuration' (0028,0006) attribute.
|
void |
setRedPaletteColorLookupTableDescriptor(java.lang.Integer val)
Sets the value of the 'Red Palette Color Lookup Table Descriptor' (0028,1101) attribute.
|
void |
setRows(java.lang.Integer val)
Sets the value of the 'Rows' (0028,0010) attribute.
|
void |
setSamplesPerPixel(java.lang.Integer val)
Sets the value of the 'Samples per Pixel' (0028,0002) attribute.
|
void |
setSmallestImagePixelValue(java.lang.Integer val)
Sets the value of the 'Smallest Image Pixel Value' (0028,0106) attribute.
|
getAttribSet, setAttribSet
public boolean isItem()
public java.lang.String getServiceName()
getServiceName
in class MCdataSet
public MCcommand getCommand()
getCommand
in class MCdataSet
MCcommand.INVALID_COMMAND
instance.public java.lang.Integer getSamplesPerPixel()
public void setSamplesPerPixel(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeSamplesPerPixel()
public java.lang.String getPhotometricInterpretation()
public void setPhotometricInterpretation(java.lang.String val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removePhotometricInterpretation()
public java.lang.Integer getPlanarConfiguration()
public void setPlanarConfiguration(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removePlanarConfiguration()
public java.lang.Integer getRows()
public void setRows(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeRows()
public java.lang.Integer getColumns()
public void setColumns(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeColumns()
public java.lang.String getPixelAspectRatio()
public java.lang.String getPixelAspectRatio(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setPixelAspectRatio(java.lang.String val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void addPixelAspectRatio(java.lang.String val)
val
- The value to add.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removePixelAspectRatio()
public java.lang.Integer getBitsAllocated()
public void setBitsAllocated(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeBitsAllocated()
public java.lang.Integer getBitsStored()
public void setBitsStored(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeBitsStored()
public java.lang.Integer getHighBit()
public void setHighBit(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeHighBit()
public java.lang.Integer getPixelRepresentation()
public void setPixelRepresentation(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removePixelRepresentation()
public java.lang.Integer getSmallestImagePixelValue()
public void setSmallestImagePixelValue(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeSmallestImagePixelValue()
public java.lang.Integer getLargestImagePixelValue()
public void setLargestImagePixelValue(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeLargestImagePixelValue()
public java.lang.Integer getRedPaletteColorLookupTableDescriptor()
public java.lang.Integer getRedPaletteColorLookupTableDescriptor(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setRedPaletteColorLookupTableDescriptor(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void addRedPaletteColorLookupTableDescriptor(java.lang.Integer val)
val
- The value to add.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeRedPaletteColorLookupTableDescriptor()
public java.lang.Integer getGreenPaletteColorLookupTableDescriptor()
public java.lang.Integer getGreenPaletteColorLookupTableDescriptor(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setGreenPaletteColorLookupTableDescriptor(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void addGreenPaletteColorLookupTableDescriptor(java.lang.Integer val)
val
- The value to add.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeGreenPaletteColorLookupTableDescriptor()
public java.lang.Integer getBluePaletteColorLookupTableDescriptor()
public java.lang.Integer getBluePaletteColorLookupTableDescriptor(int valueIndex)
valueIndex
- The index of the value to retrieve, 0 for the first value, 1 for the second, etc. . )public void setBluePaletteColorLookupTableDescriptor(java.lang.Integer val)
This method replaces any existing value with the specified one.
val
- The value to set.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void addBluePaletteColorLookupTableDescriptor(java.lang.Integer val)
val
- The value to add.MCexception
- If the attribute set is disposed, if the tag number is invalid, if the type or the content of
the value is incompatible with the attribute's value representation, if there are too many values set or if the
toolkit fails to store the value (out of memory or temporary file storage problem).public void removeBluePaletteColorLookupTableDescriptor()