ESupervisedSegmenterResult::Draw

Draws the segmentation.
The detected segment are drawn with the label color specified in the dataset used for training. The pixel classified as background are transparent.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

void Draw(
   EDrawAdapter* graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   HDC graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicsContext

-

zoomX

Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

zoomY

Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

Remarks

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

ESupervisedSegmenterResult.Draw

Draws the segmentation.
The detected segment are drawn with the label color specified in the dataset used for training. The pixel classified as background are transparent.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   IntPtr graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicsContext

-

zoomX

Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

zoomY

Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

Remarks

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.