Class ImageRotation

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, IntDataElementWrapper, UnsignedShortWrapper

public class ImageRotation extends AbstractDataElementWrapper implements UnsignedShortWrapper
Name: Image Rotation
Keyword: ImageRotation
Tag: (0070,0042)
Value Representation: US
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Image Rotation
    Type: 1
    Attribute Description:

    How far to rotate the image clockwise in degrees, before any Image Horizontal Flip (0070,0041) is applied.

    Enumerated Values:

    270
    180
    90
    0
    Note

    Negative values are not permitted since the Value Representation is unsigned.


  • Described in the contexts: as follows:
    Attribute Name: Image Rotation
    Type: 3
    Attribute Description:

    Rotation of the image clockwise in degrees, before the Image Horizontal Flip (0070,0041) is applied.

    Enumerated Values:

    270
    180
    90
    0

  • Field Details

  • Constructor Details

    • ImageRotation

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

      public ImageRotation()
      Creates a new Image Rotation object which wraps a new and empty Attributes object.
  • Method Details

    • copy

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