DrawContour

The DrawContour block draws a contour around an image based on three inputs to the block.

    DrawContour

Library

ComputerVision/Images/Draw

Description

You typically use this block in conjunction with the FindContour block.

Parameters

DrawContour_0

NameLabelDescriptionData TypeValid Values

thickness

Thickness

Specifies the contour’s thickness as an integer greater than 0.

Scalar

externalActivation

External activation

This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

src

explicit

input

1

contour

explicit

input

2

hierarchy

explicit

input

3

image

explicit

output

1

Port 5

activation

input

externalActivation