This figure illustrates the reconstructive radial opening by detecting objects with linear features.
.
from morph import *
from handson import mmropen
A=mmreadgray('pieces_bw.tif')
B=mmropen(A,28,arange(0,179,2))
Warning: Converting input image from int32 to binary uint8.
C=mminfrec(B,A,mmsebox())
mmshow(A)
mmshow(B)
mmshow(C)