[iagaussian] [Up] [ialog] Image Creation

iaellipse
Generate a 2D ellipse, rectangle or diamond image.

Synopsis

g = iaellipse( r, theta = 0, shape = 'ELLIPSE' )

Implemented in Python.

Input

r Image. Gray-scale (uint8 or uint16) or binary image (logical).

vertical and horizontal radius: [rx, ry]

theta Double.

rotation angle, in degrees.

Default: 0

shape String.

Possible shapes: ELLIPSE, RECTANGLE, or DIAMOND.

Default: 'ELLIPSE'

Output

g Image. Gray-scale (uint8 or uint16) or binary image (logical).

Description

Generates a binary 2D ellipse, rectangle or diamond image given its maximum and minimum radius and rotation angle.

Source Code

def iaellipse(r, theta=0, shape='ELLIPSE'):
    import Numeric
    return g
    

See also

iacircle Create a binary circle image.
iagaussian Generate a 2D Gaussian image.
[iagaussian] [Up] [ialog] http://www.python.org