Class cv::viz::WImageOverlay#
This 2D Widget represents an image overlay. :
#include <opencv2/viz/widgets.hpp>Collaboration diagram for cv::viz::WImageOverlay:
Public Member Functions#
Public Member Functions inherited from cv::viz::Widget2D
Return |
Name |
Description |
|---|---|---|
|
Sets the color of the widget. |
Public Member Functions inherited from cv::viz::Widget
Return |
Name |
Description |
|---|---|---|
|
Casts a widget to another. |
|
|
Returns rendering property of the widget. |
|
|
||
|
Sets rendering property of the widget. |
Static Public Member Functions#
Static Public Member Functions inherited from cv::viz::Widget
Return |
Name |
Description |
|---|---|---|
|
Creates a widget from ply file. |
Additional Inherited Members#
Friends inherited from cv::viz::Widget
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
This 2D Widget represents an image overlay. :
Constructor & Destructor Documentation#
WImageOverlay()#
cv::viz::WImageOverlay::WImageOverlay(
InputArray image,
const Rect & rect )
Constructs an WImageOverlay.
Parameters
image— BGR or Gray-Scale image.rect— Image is scaled and positioned based on rect.
Member Function Documentation#
setImage()#
void cv::viz::WImageOverlay::setImage(InputArray image)
Sets the image content of the widget.
Parameters
image— BGR or Gray-Scale image.
Source file#
The documentation for this class was generated from the following file:
opencv2/viz/widgets.hpp