Browse Source

add comment for ExtractOp and Split op

tags/v1.1.0
xulei2020 5 years ago
parent
commit
6a1b2f9ba3
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 Apply affine transformation for 1 channel image


Loading…
Cancel
Save