DRAW namespace

Symbols grouped by the DRAW namespace.

Symbols in this namespace: 4

SymbolKindCategoryDescription
DRAW.CIRCLECommandDrawing statementsDraws or fills a circle over an image or stack.
DRAW.LINECommandDrawing statementsDraws a line over an image or over every frame of a stack and returns the modified media.
DRAW.RECTCommandDrawing statementsDraws or fills a rectangle over an image or stack.
DRAW.TEXTCommandDrawing statementsDraws text using an OpenCV Hershey font over an image or stack.

DRAW.CIRCLE

STATEMENTDRAWBATCH-FRIENDLY
Kind: Command   Category: Drawing statements   Namespace: DRAW

DRAW.CIRCLE src, cx, cy, radius [, value [, thickness]] AS dst

Draws or fills a circle over an image or stack.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
valueScalar value written, drawn, or used as foreground/background according to the command.
thicknessOptional parameter. If omitted, the command uses its internal default.

Minimal example

DRAW.CIRCLE src, cx, cy, radius [, value [, thickness]] AS dst

DRAW.LINE

STATEMENTDRAWBATCH-FRIENDLY
Kind: Command   Category: Drawing statements   Namespace: DRAW

DRAW.LINE src, x1, y1, x2, y2 [, value [, thickness]] AS dst

Draws a line over an image or over every frame of a stack and returns the modified media.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
valueScalar value written, drawn, or used as foreground/background according to the command.
thicknessOptional parameter. If omitted, the command uses its internal default.

Minimal example

DRAW.LINE src, x1, y1, x2, y2 [, value [, thickness]] AS dst

DRAW.RECT

STATEMENTDRAWBATCH-FRIENDLY
Kind: Command   Category: Drawing statements   Namespace: DRAW

DRAW.RECT src, x, y, w, h [, value [, thickness]] AS dst

Draws or fills a rectangle over an image or stack.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
valueScalar value written, drawn, or used as foreground/background according to the command.
thicknessOptional parameter. If omitted, the command uses its internal default.

Minimal example

DRAW.RECT src, x, y, w, h [, value [, thickness]] AS dst

DRAW.TEXT

STATEMENTDRAWBATCH-FRIENDLY
Kind: Command   Category: Drawing statements   Namespace: DRAW

DRAW.TEXT src, x, y, text [, value [, scale [, thickness]]] AS dst

Draws text using an OpenCV Hershey font over an image or stack.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
valueScalar value written, drawn, or used as foreground/background according to the command.
scaleMultiplicative scale factor; for geometric transforms it may mean image scale around the center.
thicknessOptional parameter. If omitted, the command uses its internal default.

Minimal example

DRAW.TEXT src, x, y, text [, value [, scale [, thickness]]] AS dst