Function mindspore::dataset::Affine
Defined in File image_process.h
Function Documentation
-
bool mindspore::dataset::Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, UINT8_C3 borderValue)
Apply affine transformation for 3 channel image.
- Parameters
src – [in] Input image data.
out_img – [in] Output image data.
M[6] – [in] Affine transformation matrix.
dsize – [in] The size of the output image.
borderValue – [in] The pixel value is used for filing after the image is captured.