Class DvppDecodeResizeCropJpeg

Inheritance Relationships

Base Type

Class Documentation

class DvppDecodeResizeCropJpeg : public mindspore::dataset::TensorTransform

Decode, resize and crop JPEG image using the hardware algorithm of Ascend series chip DVPP module.

Public Functions

DvppDecodeResizeCropJpeg(std::vector<uint32_t> crop, std::vector<uint32_t> resize)

Constructor.

Parameters
  • crop[in] Parameter vector of two integers for each dimension after final crop, with respect to H,W order.

  • resize[in] Parameter vector of two integers for each dimension after resize, with respect to H,W order.

~DvppDecodeResizeCropJpeg() = default

Destructor.