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.
我在通过一些图像处理获得的矩阵中有一个二进制图像。当我说二进制图像时,我的意思是它有零和一表示完全黑色和完全白色像素。图像大部分是白色的,并且有一些黑点。我现在想通过一些因素扩大这个黑点。我该怎么做?
你试过扩张吗?
imdilate(1-binary_image, SE)
其中 SE 是结构元素。