Function mindspore::dataset::ResizeBilinear

Function Documentation

bool mindspore::dataset::ResizeBilinear(const LiteMat &src, LiteMat &dst, int dst_w, int dst_h)

resizing image by bilinear algorithm, the data type of currently only supports is uint8, the channel of currently supports is 3 and 1.

Parameters
  • src[in] Input image data.

  • dst[in] Output image data.

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

  • dst_h[in] The length of the output image.