Skip to contents

Fast morphological dilation

Usage

dilate_cpp(img, raio = 3L, forma = "disc")

Arguments

img

A logical matrix representing the binary image.

raio

Radius of the structuring element (integer >= 1).

forma

Shape of the structuring element ("disc" or "square").