Class SubjectArea
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSubjectArea.Builder<SELF extends SubjectArea.Builder<SELF,T>,T extends SubjectArea.Holder>static interfaceSubjectArea.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Subject Area" (seeSubjectArea)-
Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
IntegerStringMultiWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends IntegerStringMultiWrapper>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPRIVATE_CREATORThe Private Creator associated with this class.static intTAGThe DICOM Tag associated with this class.-
Fields inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description SubjectArea()Creates a new Subject Area object which wraps a new and emptyAttributesobject.SubjectArea(org.dcm4che3.data.Attributes attributes)Creates a new Subject Area object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectAreacopy()Returns a new Subject Area which wraps a copy of the Attributes wrapped in this Subject Area.java.lang.StringgetPrivateCreator()intgetTag()-
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toString
-
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, isEmpty
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytes
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper
getInt, getInts, setInts
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
getValueRepresentation
-
-
-
-
Field Detail
-
PRIVATE_CREATOR
public static final java.lang.String PRIVATE_CREATOR
The Private Creator associated with this class.
-
TAG
public static final int TAG
The DICOM Tag associated with this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubjectArea
public SubjectArea(org.dcm4che3.data.Attributes attributes)
Creates a new Subject Area object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
SubjectArea
public SubjectArea()
Creates a new Subject Area object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public SubjectArea copy()
Returns a new Subject Area which wraps a copy of the Attributes wrapped in this Subject Area. (seeAttributes(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:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-