Class AbstractAnylineImage

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • AbstractAnylineImage

        AbstractAnylineImage()
    • Method Detail

      • getOriginalWidth

         final Integer getOriginalWidth()
        Returns:

        original width of the image in the rotation as received from the sensor

      • getOriginalHeight

         final Integer getOriginalHeight()
        Returns:

        original height of the image in the rotation as received from the sensor

      • getData

         final ByteArray getData()
        <p> The image data in the format returned by {@link #getFormat()}. </p><p> Note: if {@link #isGrayOnly()} is true, the format is always Y8 (regardless of what getFormat returns). </p>
        Returns:

        the data in the format returned by {@link #getFormat()}

      • isGrayOnly

         final Boolean isGrayOnly()
        Returns:

        true if image is gray only (true also means that the format is Y8)

      • getTargetOrientation

         final Integer getTargetOrientation()

        Get the target orientation of the image. (The amount the raw data has to be rotated to be oriented as in the preview)

        Returns:

        the target orientation

      • getFormat

         final Integer getFormat()

        Get the format the image is stored in the byte data (see {@link #getData()}). The format is one of the constants in {@link ImageFormat}.

        Returns:

        the image format used in the byte data (see {@link #getData()})

      • toAnylineImage

         abstract AnylineImage toAnylineImage()

        Get a new AnylineImage object from the current AbstractAnylineImage object