From 6a1b2f9ba3b5196341accfe19474189a422367e6 Mon Sep 17 00:00:00 2001 From: xulei2020 <“xulei83@huawei.com”> Date: Wed, 21 Oct 2020 16:07:52 +0800 Subject: [PATCH] add comment for ExtractOp and Split op --- .../minddata/dataset/kernels/image/lite_cv/image_process.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h b/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h index 1816fe837a..62c1fc4832 100644 --- a/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h +++ b/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h @@ -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 &mv); /// \brief Apply affine transformation for 1 channel image