[hofig1s18] [Up] [hofig2s2] Chapter 2 - Binary Opening and Closing

hofig2s1
Opening

Description

This figure illustrates the opening.

Demo Script

.

from morph import *
from Numeric import ones
B=mmsedisk(10)
mmshow(mmseshow(B))
F=mmpad(mmbinary(ones((50,35))),B)
mmshow(F)
E=mmero(F,B)
mmshow(E)
O=mmopen(F,B)
mmshow(O)
mmseshow(B) F E O

[hofig1s18] [Up] [hofig2s2] http://www.python.org