提交 b35046f5 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!173 modify image analysis capabilities comments

Merge pull request !173 from anzhengqi/modify-obsolete-comments
......@@ -84,18 +84,8 @@ Status Resize(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *out
// Returns Decoded image
// Supported images:
// - Windows bitmaps - \*.bmp, \*.dib (always supported)
// - JPEG files - \*.jpeg, \*.jpg, \*.jpe (see the *Note* section)
// - JPEG 2000 files - \*.jp2 (see the *Note* section)
// - Portable Network Graphics - \*.png (see the *Note* section)
// - WebP - \*.webp (see the *Note* section)
// - Portable image format - \*.pbm, \*.pgm, \*.ppm \*.pxm, \*.pnm (always supported)
// - PFM files - \*.pfm (see the *Note* section)
// - Sun rasters - \*.sr, \*.ras (always supported)
// - TIFF files - \*.tiff, \*.tif (see the *Note* section)
// - OpenEXR Image files - \*.exr (see the *Note* section)
// - Radiance HDR - \*.hdr, \*.pic (always supported)
// - Raster and Vector geospatial data supported by GDAL (see the *Note* section)
// BMP JPEG JPG PNG TIFF
// supported by opencv, if user need more image analysis capabilities, please compile opencv particularlly.
// @param input: CVTensor containing the not decoded image 1D bytes
// @param output: Decoded image Tensor of shape <H,W,C> and type DE_UINT8. Pixel order is RGB
Status Decode(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册