What erode function should I use?
显示 更早的评论
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Neighborhood and Block Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!