#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, const char** argv)
{
Mat im = imread("10.jpg", 0);
Mat cont = ~im;
imwrite("1.jpg", cont);
Mat smoothed = Mat(im.rows, im.cols, CV_8UC1, Scalar(0));
// contour smoothing parameters for gaussian filter
threshold(cont
10-14
10-20
5239

07-13
2万+

08-23
5141
