What erode function should I use?

1 次查看(过去 30 天)
Josef
Josef 2013-4-19
回答: Abiha 2023-1-2
Hi All, I have a simple block matching algorithm which compares two frames and ties to find the same macro block (16x16 pixels) with has minimal cost. The images are grey scale and I also extracted binary image where there is movement. My question is which erode function should I use to eliminate some minor noise? I tried: SE = strel('disk',1); IM2 = imerode(A,SE); But the erosion was too much that even parts of the monitored image was considered as noise.
Are there any other possible functions to eliminate noise and extract the object?

回答(1 个)

Abiha
Abiha 2023-1-2
101
111
111

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by