Class SubjectLocation

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

public class SubjectLocation extends AbstractDataElementWrapper implements IntegerStringMultiWrapper
Name: Subject Location
Keyword: SubjectLocation
Tag: (0016,0037)
Value Representation: IS
Value Multiplicity: 2
  • Described in the contexts: as follows:
    Attribute Name: Subject Location
    Type: 3
    Attribute Description:

    The location of the main subject in the scene. The value of this tag represents the pixel at the center of the main subject relative to the upper left corner. The first value indicates the X column number and second indicates the Y row number.


  • Field Details

  • Constructor Details

    • SubjectLocation

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

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

    • copy

      public SubjectLocation copy()
      Returns a new Subject Location which wraps a copy of the Attributes wrapped in this Subject Location. (see Attributes(Attributes)
      Returns:
      a new Subject Location which wraps a copy of the Attributes wrapped in this Subject Location.
    • 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.