版本1和4间的区别 (跳过第3版)
于2008-05-22 17:54:21修订的的版本1
大小: 78
编辑: chenzhongke
备注:
于2008-05-22 19:43:39修订的的版本4
大小: 387
编辑: chenzhongke
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 5: 行号 5:
如果有
{{{#!latex
$$f_m(x,y)= \begin{cases}
1-f(x,y) & if\ (x,y)\ is\ on\ the\ border\ of\ f\\
0 & otherwise
\end{cases}$$
}}}
行号 6: 行号 13:
则下面这个操作的作用就是填充空洞
{{{#!latex
$$g = [R_{f^c}(f_m)]^c$$
}}}

在matlab中可以用一个函数实现:{{{
g = imfill(f, 'holes');
}}}

填充空洞

如果有

$$f_m(x,y)= \begin{cases}
1-f(x,y) & if\ (x,y)\ is\ on\ the\ border\ of\ f\\
0 & otherwise
\end{cases}$$

则下面这个操作的作用就是填充空洞

$$g = [R_{f^c}(f_m)]^c$$

在matlab中可以用一个函数实现:

g = imfill(f, 'holes');

图像的数学形态学处理/140 填充空洞 (2008-05-22 19:43:39由chenzhongke编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.