Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在整条线上画一个绿色矩形,包括这张图片上的空间。 为了做到这一点,我以这种方式对图像进行阈值处理。
但这不允许我得到整条线的轮廓并且不幸地以这种方式获得输出。
请帮我解决这些问题!谢谢
做大宽度和短高度的膨胀(比如50宽度,5高度)。我会帮你的。
https://docs.opencv.org/3.2.0/db/df6/tutorial_erosion_dilatation.html