问题描述
我想使用matlab生成一个随机图像,其中包含要检测的对象和随机位置处的混乱图像.然后,我想在杂波图像下检测此随机生成的对象,并根据对象的形状勾勒出对象的轮廓.我试图在mathworks上寻找代码,但是我所能找到的只是检测一个对象并在检测到的对象周围绘制一个矩形框.我要做的是检测物体并绘制检测物体的轮廓.
I want generate a random image using matlab which contains the object to be detected and the clutter images at random locations. I then want to detect this randomly generated object under the clutter images and outline the object based on the objects shape. I tried to look for code on mathworks but all I could find was to detect an object and draw a rectangular box around the detected object. What I want to do is to detect the object and draw the outline of the detected object.
任何人都可以建议我该怎么做.谢谢
Can anyone suggest me how to do this. Thanks
推荐答案
尝试使用 activecontour 功能.
这篇关于随机物体检测matlab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!