Commit 7d0097b3 authored by shangxl's avatar shangxl
Browse files

修改Tutorial_Cpp中的括号

parent b51b1aac
......@@ -122,8 +122,7 @@ ErrorCode DeepLabV3::Initialize(InitializationParameterOfSegmentation initParamO
本示例代码主要通过opencv实现预处理操作:
```C++
ErrorCode Unet::Segmentation(const cv::Mat &srcImage, cv::Mat &maskImage)
{
ErrorCode Unet::Segmentation(const cv::Mat &srcImage, cv::Mat &maskImage){
...
// 图像预处理并转换为NCHW
......@@ -199,8 +198,7 @@ ErrorCode DeepLabV3::Segmentation(const cv::Mat &srcImage, cv::Mat &maskImage){
2.保存结果,创建一个cv::Mat,根据不同的通道索引在颜色映射表取值并按行依次赋值到Mat对应位置,得到最终的分割图像。
```c++
ErrorCode DeepLabV3::Segmentation(const cv::Mat &srcImage, cv::Mat &maskImage)
{
ErrorCode DeepLabV3::Segmentation(const cv::Mat &srcImage, cv::Mat &maskImage){
...
cv::Mat outputImage(cv::Size(W, H), CV_8UC3);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment