TransformsProvider.Maximum Method

Applies a maximum filter (also known as erosion) to the bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void Maximum(
	int radius
)

Parameters

radius

Type: System.Int32

The radius of the filter in pixels.

Remarks

Maximum filter is a non-linear filter which works in the following way: for each pixel it searches pixel with maximum brightness in "running window" of the radius specified with radius parameter. This pixel is copied to the result bitmap.

That's why if you apply this filter on the image with has black objects on white background (for example text), they will be erosed.

See Also

Reference