Function mindspore::dataset::WarpPerspectiveBilinear

Function Documentation

bool mindspore::dataset::WarpPerspectiveBilinear(const LiteMat &src, LiteMat &dst, const LiteMat &M, int dst_w, int dst_h, PaddBorderType borderType, std::vector<uint8_t> &borderValue)

affine image by linear.

Parameters
  • src – [in] Input image data.

  • dst – [in] Output image data.

  • M – [in] Transformation matrix

  • dst_w – [in] The width of the output image.

  • dst_h – [in] The height of the output image.

  • borderType – [in] Edge processing type.

  • borderValue – [in] Boundary fill value.