[hofig6s16] [Up] [hofig6s18] Chapter 6 - Morphological Processing of Gray-Scale Images

hofig6s17
Reconstructive radial opening

Description

This figure illustrates the reconstructive radial openning filter.

Demo Script

.

from morph import *
from handson import mmropen
from Numeric import arange
f=mmreadgray('pasta.jpg');
g=mmropen(f,65,arange(0,175,15));
Warning: Converting input image from int32 to uint8.
g1=mminfrec(g,f);
mmshow(f)
mmshow(g)
mmshow(g1)
f g
g1

[hofig6s16] [Up] [hofig6s18] http://www.python.org