Class RawImageLoadOptions


  • public class RawImageLoadOptions
    extends java.lang.Object
    Options for loading images that come from sensor.
    • Constructor Detail

      • RawImageLoadOptions

        public RawImageLoadOptions​(Rectangle cropRect,
                                   ImageRotation orientation)
        Constructs RawImageLoadOptions with the given params.
        Parameters:
        cropRect - If the rect is not empty, the image will be cropped to this rect before processing.
        orientation - Rotation that should be applied to the image to recover correct orientation. Default is NONE
      • RawImageLoadOptions

        public RawImageLoadOptions()
        Constructs RawImageLoadOptions with default parameters.
    • Method Detail

      • getCropRect

        public Rectangle getCropRect()
        Getter for cropRect field. See constructor documentation for more information about the field.
        Returns:
        cropRect
      • setCropRect

        public void setCropRect​(Rectangle cropRect)
        Setter for cropRect field. See constructor documentation for more information about the field.
        Parameters:
        cropRect - Value to set.
      • getOrientation

        public ImageRotation getOrientation()
        Getter for orientation field. See constructor documentation for more information about the field.
        Returns:
        orientation
      • setOrientation

        public void setOrientation​(ImageRotation orientation)
        Setter for orientation field. See constructor documentation for more information about the field.
        Parameters:
        orientation - Value to set.