Browse Source

!7566 [MD]add comment for ExtractOp and Split op

Merge pull request !7566 from xulei/lite_test0905
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
ff85533155
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h

+ 2
- 0
mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h View File

@@ -81,8 +81,10 @@ bool SubStractMeanNormalize(const LiteMat &src, LiteMat &dst, const std::vector<
bool Pad(const LiteMat &src, LiteMat &dst, int top, int bottom, int left, int right, PaddBorderType pad_type,
uint8_t fill_b_or_gray, uint8_t fill_g, uint8_t fill_r);

/// \brief extract image channel by index
bool ExtractChannel(const LiteMat &src, LiteMat &dst, int col);

/// \brief split image channels to single channel
bool Split(const LiteMat &src, std::vector<LiteMat> &mv);

/// \brief Create a multi-channel image out of several single-channel arrays.


Loading…
Cancel
Save