您当前的位置: 首页 >  opencv

OpenCV_(Laplacian Transform to find the edges)图像拉普拉斯变换查找边缘 图像识别

惊鸿一博 发布时间:2017-03-15 15:43:51 ,浏览量:10

//6. laplacian transform  拉普拉斯变换--------------------------------------------------------------------
	
	cv::Mat laplace;
	LaplacianZCC laplacian;
	laplacian.setAperture(7);
	cv::Mat flap = laplacian.computeLaplacian(image);//计算
	laplace = laplacian.getLaplacianImage();//获取

	cv::namedWindow("laplace");//显示
	cv::imshow("laplace", laplace);

	//显示图像部分laplacian数据:从点(130,150)开始12X12
	std::cout             
关注
打赏
1688896170
查看更多评论
0.0514s