[mmGetpixel] [Up] [mmMax] Obsolete

mmDraw
Superpose rectangles and lines on an image. Obsolete, use mmdrawv.

Synopsis

Image mmDraw ( const Image& f , const String& RECTLIST , const Double& k1 = NullDouble );

Input

f Image [ Gray-scale (uint8 or uint16) or binary image ]

uint8 or logical uint8.

RECTLIST String

' R1 C1 R2 C2' ( extremities).

k1 Double [ Non-negative integer. ]

Default: NullDouble

Output

y Image

y has the same type of f.

Description

mmDraw creates the image y by a superposition of rectangles and lines of gray-level k1 on the image f. Each rectangle or line is defined by two pairs of points (Row,Column): (R1,C1) and (R2,C2). For a rectangle, (R1,C1) and (R2,C2) represent, respectively, its left low and right upper corner, while for a line, they represent their extremities. The syntax of representation of a rectangle, a filled rectangle, and a line are, respectively, RECT: R1,C1,R2,C2, FRECT:R1,C1,R2,C2, and LINE:R1,C1,R2,C2. A sequence of definitions of lines and rectangles is closed by the command END. Lines and rectangles definitions are delimited by colon (:).

See also

mmFrame Create a frame image.
mmText Create a binary image of a text.
[mmGetpixel] [Up] [mmMax]