Class SubjectArea

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper, IntegerStringMultiWrapper, org.dcm4che.typeddicom.valuerepresentations.StringDataElementMultiWrapper

    public class SubjectArea
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements IntegerStringMultiWrapper
    Name: Subject Area
    Keyword: SubjectArea
    Tag: (0016,002A)
    Value Representation: IntegerString
    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.


    • Constructor Summary

      Constructors 
      Constructor Description
      SubjectArea()
      Creates a new Subject Area object which wraps a new and empty Attributes object.
      SubjectArea​(org.dcm4che3.data.Attributes attributes)
      Creates a new Subject Area object which wraps the provided attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SubjectArea copy()
      Returns a new Subject Area which wraps a copy of the Attributes wrapped in this Subject Area.
      java.lang.String getPrivateCreator()  
      int getTag()  
      • Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper

        equals, exists, getValue, hashCode, toString
      • Methods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper

        getAttributes
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper

        copy, getAttributes, getKnownAttributeTags, getUnknownAttributeTags, isEmpty
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper

        getBytes, getSafeBytes, setBytes
      • Methods inherited from interface org.dcm4che.typeddicom.DataElementWrapper

        exists, getValue
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper

        getInt, getInts, setInts
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.StringDataElementMultiWrapper

        getString, getString, getStrings, setStrings
    • Constructor Detail

      • 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 Detail

      • 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.
      • getPrivateCreator

        public java.lang.String getPrivateCreator()
        Specified by:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

        public int getTag()
        Specified by:
        getTag in interface org.dcm4che.typeddicom.DataElementWrapper