赞
踩
#include<opencv2/opencv.hpp> #include<iostream> #include<cmath> using namespace std; using namespace cv; int main() { Mat src = imread("E:\\tupian\\44.jpg", IMREAD_GRAYSCALE); Mat img = src.clone(); Mat dst1; int row = src.rows; int col = src.cols; int sum = row * col; int Treshhold = 0;//阈值大小 double w0 = 0; double w1 = 0; double u0 = 0; double u1 =
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。