Class SubjectArea

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, IntDataElementMultiWrapper, IntegerStringMultiWrapper, StringDataElementMultiWrapper

public class SubjectArea extends AbstractDataElementWrapper implements IntegerStringMultiWrapper
Name: Subject Area
Keyword: SubjectArea
Tag: (0016,002A)
Value Representation: IS
Value Multiplicity: 2-4
  • Described in the contexts: as follows:
    Attribute Name: Subject Area
    Type: 3
    Attribute Description:

    The location and area of the main subject in the overall scene.

    If two values are present, they are the X and Y image-relative coordinates of a location.

    If three values are present, they are the X and Y image-relative center coordinates and the diameter in pixels of a circle.

    If four values are present, they are the center X image-relative coordinate, the center Y image-relative coordinate, the width in pixels, and the height in pixels of a rectangle.

    The coordinate values, width, and height are expressed in relation to the upper left as origin.


  • Field Details

  • Constructor Details

    • SubjectArea

      public SubjectArea(org.dcm4che3.data.Attributes attributes)
      Creates a new Subject Area object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • SubjectArea

      public SubjectArea()
      Creates a new Subject Area object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public SubjectArea copy()
      Returns a new Subject Area which wraps a copy of the Attributes wrapped in this Subject Area. (see Attributes(Attributes)
      Returns:
      a new Subject Area which wraps a copy of the Attributes wrapped in this Subject Area.
    • getValueRepresentation

      public org.dcm4che3.data.VR getValueRepresentation()
      Specified by:
      getValueRepresentation in interface DataElementWrapper
      Returns:
      The DICOM Value Representation (VR) of the wrapped DICOM sequence.
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM sequence.