Erosion

Computes the minimum pixel value within a local neighborhood. The structuring element is a square kernel centered at each pixel.

Parameters

tex0 Texture: The input texture to be filtered. Default: The entire canvas
canvasSize Vec2: The size of the texture used for sampling neighboring pixels. Default: The entire canvas

Example Parameters

// None required