简体   繁体   English

定义内核大小(C ++ OpenCV)

[英]Defining kernel size (c++ opencv)

I am working with a project in opencv, where i am trying to segment and analyse an image from my webcam. 我正在与opencv中的一个项目一起工作,在这里我试图对网络摄像头中的图像进行分段和分析。 So far the thresholding seems to be good, but as i am trying to reduce the noise in the picture i need to choose a kernel for the closing function that i am using. 到目前为止,阈值似乎不错,但是当我试图降低图片中的噪点时,我需要为我正在使用的关闭函数选择一个内核。 The problem is that i cannot find any good tutorial on how to do this. 问题是我找不到有关如何执行此操作的任何好的教程。 I have been looking into several methods but i have gotten nothing out of it. 我一直在研究几种方法,但我一无所获。

Every opencv function i use i will have to know exactly what does, so i would like to avoid using the more advanced opencv functions. 我使用的每个opencv函数都必须确切地知道它的作用,因此我想避免使用更高级的opencv函数。

Can anyone explain how to do this? 谁能解释如何做到这一点?

Regards Ulrik 问候乌里克

Here is good totorial about morphology operators. 这是有关形态算子的良好指南。

http://aishack.in/tutorials/mathematical-morphology/ http://aishack.in/tutorials/mathematical-morphology/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM