[hofig6s2] [Up] [hofig6s5] Chapter 6 - Morphological Processing of Gray-Scale Images

hofig6s4
Gray-scale top-hat

Description

This figure illustrates the gray-scale top-hat.

Demo Script

.

from morph import *
f=mmreadgray('bunch-seeds.jpg')
D=mmsedisk(3)
g=mmopen(f,D)
gth=mmopenth(f,D)
mmshow(f)
mmshow(g)
mmshow(gth)
f g
gth

[hofig6s2] [Up] [hofig6s5] http://www.python.org