Class Polarity

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, CodeStringWrapper, StringDataElementWrapper

public class Polarity extends AbstractDataElementWrapper implements CodeStringWrapper
Name: Polarity
Keyword: Polarity
Tag: (2020,0020)
Value Representation: CS
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Polarity
    Type:
    Attribute Description:

    Specifies whether minimum pixel values (after VOI LUT transformation) are to printed black or white.

    Enumerated Values:

    NORMAL

    pixels shall be printed as specified by Photometric Interpretation (0028,0004)

    REVERSE

    pixels shall be printed with the opposite polarity as specified by Photometric Interpretation (0028,0004)

    If Polarity (2020,0020) is not specified by the SCU, the SCP shall print with NORMAL polarity.


  • Field Details

  • Constructor Details

    • Polarity

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

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

    • copy

      public Polarity copy()
      Returns a new Polarity which wraps a copy of the Attributes wrapped in this Polarity. (see Attributes(Attributes)
      Returns:
      a new Polarity which wraps a copy of the Attributes wrapped in this Polarity.
    • getTag

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