Class cv::viz::WImageOverlay#

This 2D Widget represents an image overlay. :

Collaboration diagram for cv::viz::WImageOverlay:

Public Member Functions#

Public Member Functions inherited from cv::viz::Widget2D

Return

Name

Description

Widget2D()

void

setColor(const Color & color)

Sets the color of the widget.

Public Member Functions inherited from cv::viz::Widget

Static Public Member Functions#

Static Public Member Functions inherited from cv::viz::Widget

Return

Name

Description

static Widget

fromPlyFile(const String & file_name)

Creates a widget from ply file.

Additional Inherited Members#

Friends inherited from cv::viz::Widget

Return

Name

Description

struct

WidgetAccessor

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: