Pink 0.9

genball.c File Reference

generates a binary euclidean ball More...


Detailed Description

generates a binary euclidean ball

Usage: genball radius [dim] out.pgm

Description: Draws a binary euclidean ball in the new image out.pgm. The parameter radius specifies the radius of the ball. The parameter dim specifies the dimension: 2 (default) or 3. The center of the ball is designated as the origin (for use as structuring element).

Types supported: byte 2d, byte 3d

Category: draw

Author:
Michel Couprie