Function morphology

Source
pub fn morphology(
    operator: MorphologyOperator,
    rx: f64,
    ry: f64,
    src: ImageRefMut<'_>,
)
Expand description

Applies a morphology filter.

src pixels should have a premultiplied alpha.

§Panics

When rx or ry is negative.

§Allocations

This method will allocate a copy of the src image as a back buffer.