eVision Python API
Loading...
Searching...
No Matches
eVision.EGuardBand Class Reference

Used to define a guard band around the processed ROI. More...

Public Member Functions

None __init__ (self)
 Constructs a eVision.EGuardBand.
None __init__ (self, int l, int r, int t, int b)
 Constructs a eVision.EGuardBand.
None __init__ (self, int Left)
None __init__ (self, int Left, int Right)
None __init__ (self, int Left, int Right, int Top)
None __init__ (self, eVision.EGuardBand other)
bool IsEnabled (self)
 Returns true if at least one border is not null.
int Left (self)
 The left border.
 Left (self, int value)
 The left border.
int Right (self)
 The right border.
 Right (self, int value)
 The right border.
int Top (self)
 The top border.
 Top (self, int value)
 The top border.
int Bottom (self)
 The bottom border.
 Bottom (self, int value)
 The bottom border.

Detailed Description

Used to define a guard band around the processed ROI.

A guard band is a border, in pixels, to exclude perturbed image data and avoid misdetections near the edges of the ROI. The default value is 0.

Remarks:

License(s): EasySpotDetector

Deprecated
Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Constructor & Destructor Documentation

◆ __init__() [1/6]

None eVision.EGuardBand.__init__ ( self)

Constructs a eVision.EGuardBand.

◆ __init__() [2/6]

None eVision.EGuardBand.__init__ ( self,
int l,
int r,
int t,
int b )

Constructs a eVision.EGuardBand.

Parameters
lSize in pixel of the left border (default is 0).
rSize in pixel of the right border (default is 0).
tSize in pixel of the top border (default is 0).
bSize in pixel of the bottom border (default is 0).

◆ __init__() [3/6]

None eVision.EGuardBand.__init__ ( self,
int Left )
Parameters
LeftThe left border.

◆ __init__() [4/6]

None eVision.EGuardBand.__init__ ( self,
int Left,
int Right )
Parameters
LeftThe left border.
RightThe right border.

◆ __init__() [5/6]

None eVision.EGuardBand.__init__ ( self,
int Left,
int Right,
int Top )
Parameters
LeftThe left border.
RightThe right border.
TopThe top border.

◆ __init__() [6/6]

None eVision.EGuardBand.__init__ ( self,
eVision.EGuardBand other )
Parameters
otherOther instance

Member Function Documentation

◆ Bottom() [1/2]

int eVision.EGuardBand.Bottom ( self)

The bottom border.

◆ Bottom() [2/2]

eVision.EGuardBand.Bottom ( self,
int value )

The bottom border.

◆ IsEnabled()

bool eVision.EGuardBand.IsEnabled ( self)

Returns true if at least one border is not null.

◆ Left() [1/2]

int eVision.EGuardBand.Left ( self)

The left border.

◆ Left() [2/2]

eVision.EGuardBand.Left ( self,
int value )

The left border.

◆ Right() [1/2]

int eVision.EGuardBand.Right ( self)

The right border.

◆ Right() [2/2]

eVision.EGuardBand.Right ( self,
int value )

The right border.

◆ Top() [1/2]

int eVision.EGuardBand.Top ( self)

The top border.

◆ Top() [2/2]

eVision.EGuardBand.Top ( self,
int value )

The top border.