1. 首页
  2. 数据库
  3. 其它
  4. (三)OpenCV图像处理_06_对象提取与测量

(三)OpenCV图像处理_06_对象提取与测量

上传者: 2021-01-16 22:26:26上传 PDF文件 88KB 热度 15次
照片是来自太空望远镜的星云图像,科学家想知道它的面积与周长。 通过高斯模糊+二值分割+图像形态学+轮廓提取 #include #include using namespace std; using namespace cv; int main(int argc, char** argv) { Mat src,gray_temp, gauss_temp,threshold_temp,morph_temp,dst; src = imread(../path.jpg); if (src.empty()) { cout << could not load image... &
下载地址
用户评论