Generates brushes of various sizes and shapes that can be used as structuring elements.
Arguments
- size
A numeric containing the size of the brush in pixels. This should be an odd number; even numbers are rounded to the next odd one.
- shape
A character vector indicating the shape of the brush. Can be
"box","disc","diamond","Gaussian"or"line"Defaults to"disc".- step
Logical. Creates a binary brush if
TRUE.- sigma
Standard deviation for Gaussian brush shape.
- angle
Angle (in degrees) for line brush shape.
