Function:Rectangle
From CUVI Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Draws a rectangle of specified color on the image.
Function
|
Parameters
Name | Type | Description |
---|---|---|
image | CuviImage& | Input Image |
rect | const CuviRect& | Region of the image on which to draw the rectangle |
color | const CuviScalar& | Color of the rectangle |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 8uC1 |
8uC3 | 8uC3 |
Example
|