class ResizeImage extends ImageTransformerStage
Resizes the image. The parameters of the ParameterMap are: "height" - the height of the resized image "width" - the width of the resized image "stageName" "size" - the shorter side of the resized image if keep aspect ratio is true, otherwise, the side length of both height and width. "keepAspectRatio" - if true, then the shorter side will be resized to "size" parameter Please refer to OpenCV for more information
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResizeImage
- ImageTransformerStage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
def
apply(image: Mat): Mat
- Definition Classes
- ResizeImage → ImageTransformerStage
-
val
stageName: String
- Definition Classes
- ResizeImage → ImageTransformerStage