[hofig2s1] [Up] [hofig2s3] Chapter 2 - Binary Opening and Closing

hofig2s2
Opening top-hat

Description

This figure illustrates the opening top-hat.

Demo Script

.

from morph import *
F=mmreadgray('gear.tif')
mmshow(F)
B=mmsedisk(10)
mmshow(mmseshow(B))
E=mmopen(F,B)
mmshow(E)
O=mmopenth(F,B)
mmshow(O)
F mmseshow(B) E O

[hofig2s1] [Up] [hofig2s3] http://www.python.org