Class ResizePreserveAR
Defined in File vision_lite.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class ResizePreserveAR : public mindspore::dataset::TensorTransform
Keep the original picture ratio and fills the rest.
Public Functions
-
ResizePreserveAR(int32_t height, int32_t width, int32_t img_orientation = 0)
Constructor.
- Parameters
height – [in] The height of image output value after resizing.
width – [in] The width of image output value after resizing.
img_orientation – [in] Angle method of image rotation.
-
~ResizePreserveAR() = default
Destructor.
-
ResizePreserveAR(int32_t height, int32_t width, int32_t img_orientation = 0)