ERegion::Contour

Creates a new ERegion containing the contour of the ERegion.

Namespace: Euresys::Open_eVision

[C++]

ERegion Contour(
   int thickness,
   bool centered
)

Parameters

thickness

The thickness of the returned contour of the ERegion border. A negative value will compute the inner contour and a positive one will compute the outer contour using the absolute value of thickness as thickness.

centered

If true, the contour will be centered with the border of the ERegion. If false, the contour will be either the inner or outer one depending on the sign of thickness

Remarks

If thickness is even and centered is true, the thickness will be increased by 1.

ERegion.Contour

Creates a new ERegion containing the contour of the ERegion.

Namespace: Euresys.Open_eVision

[C#]

Euresys.Open_eVision.ERegion Contour(
   int thickness,
   bool centered
)

Parameters

thickness

The thickness of the returned contour of the ERegion border. A negative value will compute the inner contour and a positive one will compute the outer contour using the absolute value of thickness as thickness.

centered

If true, the contour will be centered with the border of the ERegion. If false, the contour will be either the inner or outer one depending on the sign of thickness

Remarks

If thickness is even and centered is true, the thickness will be increased by 1.