MATLAB File Help: cv.dilate Index
cv.dilate

Dilates an image by using a specific structuring element

dst = cv.dilate(src)
dst = cv.dilate(src, 'OptionName',optionValue, ...)

Input

Output

Options

The function dilates the source image using the specified structuring element that determines the shape of a pixel neighborhood over which the maximum is taken:

dst(x,y) = max_{(xp,yp): Element(xp,yp)!=0} src(x+xp, y+yp)

Dilation can be applied several (Iterations) times. In case of multi-channel images, each channel is processed independently.

See also