Skip to contents

Standard morphological erosion

Usage

erode_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").