<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                **問題:**OpenCV的imshow無法正常顯示圖片 **解決方法:**在imshow()語句下一句添加waitKey(30)? ~~~ int main() { inputImg = imread("input.bmp"); imshow("input image", inputImg);//顯示原圖 //waitKey(30); imgSplit(inputImg);//求取M(x) imgBlur(mImg);//均值濾波 imgAvg(mImg);//求M(x)中所有元素均值 imgL(blurImg, mImg);//求L(x) imgMaxInput(inputImg);//求maxImg A = imgA(imgMaxpx(blurImg), imgMaxpx(maxImg));//求A imgDefogged(inputImg);//去霧 imshow("defoggedImg", defoggedImg);//顯示去霧后的圖 imwrite("defoggedImg.bmp", defoggedImg); //waitKey(0); system("pause"); return 0; } ~~~ ![](https://box.kancloud.cn/2016-04-07_5706179276895.jpg) ~~~ #include<opencv2/opencv.hpp> #include<opencv2/core/core.hpp> #include<opencv2/imgproc/imgproc.hpp> #include<opencv2/highgui/highgui.hpp> #include<opencv/cv.h> using namespace std; using namespace cv; int main() { inputImg = imread("input.bmp"); imshow("input image", inputImg);//顯示原圖 waitKey(30); imgSplit(inputImg);//求取M(x) imgBlur(mImg);//均值濾波 imgAvg(mImg);//求M(x)中所有元素均值 imgL(blurImg, mImg);//求L(x) imgMaxInput(inputImg);//求maxImg A = imgA(imgMaxpx(blurImg), imgMaxpx(maxImg));//求A imgDefogged(inputImg);//去霧 imshow("defoggedImg", defoggedImg);//顯示去霧后的圖 imwrite("defoggedImg.bmp", defoggedImg); waitKey(0); system("pause"); return 0; } ~~~ ![](https://box.kancloud.cn/2016-04-07_570617928dfa0.jpg) ![](https://box.kancloud.cn/2016-04-07_57061792ab52b.jpg)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看