Opening and closing

open(M, Melem, b) Performs binary opening on matrix M at threshold b using structuring element Melem.

close(M, Melem, b) Performs binary closing on matrix M at threshold b using structuring element Melem.

Arguments:

Notes: