阅读背景:

c++ OpenCV功能”垫。在(Point(j, i)))“不会产生正确的像素值并崩溃。

来源:互联网 

I am trying to make a simple program that reads the pixel values (BGR) of an input image and makes an output image of the same size but if the pixel in the original picture is white, the output image's pixel (of the same position) is Blue, and if the pixel is not white, makes the same pixel in the output image Black. However I'm having difficulties getting it to work correctly. It seemed pretty easy but it doesn't behave how I'd expect it to. Here's my code for it below: I am trying to make a simple program that reads




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: