You need to enable JavaScript to run this app.Codestin Search App

Thanks to visit codestin.com
Credit goes to gammacv.com

GammaCV Logo
DocsExamplesGitHub

Dilation

Description

Dilation is one of the basic operations in mathematical morphology. Originally developed for binary images, it has been expanded first to grayscale images, and then to complete lattices. The dilation operation usually uses a structuring element for probing and expanding the shapes contained in the input image. Wiki

Params
tSrcTensorThe source image to be downsampled.
kernelSizeArray.<number>Size of structure element.
tKernelTensorOptional kernel.
Example
gm.dilate(inputImage, [3, 3]);