overbuild
overbuild is reconstruction by erosion, it is an alias for mreconstruct when op=erode.
using ImageMorphology
using TestImages
using ImageBase
using ImageShow
img = restrict(Gray.(testimage("blob")))
nothing # hide
overbuild accepts two images as inputs: marker and mask.
out = overbuild(img .- 0.2, img)
mosaic(img, out; nrow=1)
See also
overbuild is the dual operator of underbuild in the following sense:
marker, mask = rand(32, 32), rand(32, 32)
complement.(overbuild(marker, mask)) == overbuild(complement.(marker), complement.(mask))
false
For more details, please refer to mreconstruct.
This page was generated using DemoCards.jl and Literate.jl.