<> === 二值图像的集合运算 === 点的集合A可以用一幅二值的图像A来表示:{{{#!latex $$ A(x,y) = \begin{cases} 1 & if (x,y) \in A \\ 0 & if (x,y) \notin A \\ \end{cases} $$ }}} 这样,点的集合运算可以表示为二值图像的逻辑运算,比如:{{{#!latex $$C = A \cup B = \{(x,y)|(x,y) \in A or (x,y) \in B \}$$ }}}等价于{{{#!latex $$C(x,y) = \begin{cases} 1 & if\ A(x,y) = 1\ or\ B(x,y) = 1 \\ 0 & otherwise \\ \end{cases}$$ }}} {{attachment:../table91.png}} 例子: {{attachment:../figure93.png}} <>