[hofig6s6] [Up] [hofig6s10] Chapter 6 - Morphological Processing of Gray-Scale Images

hofig6s8
Gray-scale alternating sequential filtering

Description

This figure illustrates the use of gray-scale alternating sequential filter.

Demo Script

.

from morph import *
f=mmreadgray('csample.jpg')
a=f[:128,:128]
b=mmasf(a,'oc')
c=mmasf(a,'oc',mmsecross(),3)
mmshow(a)
mmshow(b)
mmshow(c)
a b c

[hofig6s6] [Up] [hofig6s10] http://www.python.org