Package io.scanbot.sdk.image
Class RawImageLoadOptions
- java.lang.Object
-
- io.scanbot.sdk.image.RawImageLoadOptions
-
public class RawImageLoadOptions extends java.lang.ObjectOptions for loading images that come from sensor.
-
-
Constructor Summary
Constructors Constructor Description RawImageLoadOptions()Constructs RawImageLoadOptions with default parameters.RawImageLoadOptions(Rectangle cropRect, ImageRotation orientation)Constructs RawImageLoadOptions with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectanglegetCropRect()Getter for cropRect field.ImageRotationgetOrientation()Getter for orientation field.voidsetCropRect(Rectangle cropRect)Setter for cropRect field.voidsetOrientation(ImageRotation orientation)Setter for orientation field.
-
-
-
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.
-
-