DrawContour
The DrawContour block draws a contour around an image based on three inputs to the block.
Library
ComputerVision/Images/Draw
Description
You typically use this block in conjunction with the FindContour block.
Parameters
Name | Label | Description | Data Type | Valid 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 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
src | explicit | input | 1 | |
contour | explicit | input | 2 | |
hierarchy | explicit | input | 3 | |
image | explicit | output | 1 | |
Port 5 | activation | input | externalActivation |