eVision .NET API
Loading...
Searching...
No Matches
eVision.ESpot Class Reference

The ESpot store information about the detections produced by ESpotDetector. A spot is defined by a type (particle or scratch), a polarity (black or white) and a geometry. The geometry is an arbitrary rectangle, represented by a ERotatedBoundingBox. More...

Inheritance diagram for eVision.ESpot:
Collaboration diagram for eVision.ESpot:

Public Member Functions

 ESpot ()
 Constructs an ESpot with default (invalid) values.
 ESpot (eVision.ESpot other)
 Copy constructor for ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, float extension, eVision.ERGBColor color, float zoomX, float zoomY)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, float extension, eVision.ERGBColor color, float zoomX)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, float extension, eVision.ERGBColor color)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, float extension)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX, float zoomY)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float extension)
 Draw the ESpot.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draw the ESpot.
void Draw (IntPtr graphicsContext, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draw the ESpot.
void Draw (IntPtr graphicsContext, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draw the ESpot.
void Draw (IntPtr graphicsContext, float extension, eVision.ERGBColor color, float zoomX, float zoomY)
 Draw the ESpot.
void Draw (IntPtr graphicsContext, float extension, eVision.ERGBColor color, float zoomX)
 Draw the ESpot.
void Draw (IntPtr graphicsContext, float extension, eVision.ERGBColor color)
 Draw the ESpot.
void Draw (IntPtr graphicsContext, float extension)
 Draw the ESpot.
void Draw (IntPtr graphicsContext)
 Draw the ESpot.
void Load (string path)
 Loads the ESpot. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads the ESpot. The given ESerializer must have been created for reading.
void Save (string path)
 Saves the ESpot. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves the ESpot. The given ESerializer must have been created for writing.
eVision.ESpot LocalToSensor (eVision.EFrame frame)
 Transforms a spot from local to sensor coordinates.
eVision.ESpot SensorToLocal (eVision.EFrame frame)
 Transforms a spot from sensor to local coordinates.
void Draw (System.Drawing.Graphics graphicsContext, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draw the ESpot.
void Draw (System.Drawing.Graphics graphicsContext, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draw the ESpot.
void Draw (System.Drawing.Graphics graphicsContext, float extension, eVision.ERGBColor color, float zoomX, float zoomY)
 Draw the ESpot.
void Draw (System.Drawing.Graphics graphicsContext, float extension, eVision.ERGBColor color, float zoomX)
 Draw the ESpot.
void Draw (System.Drawing.Graphics graphicsContext, float extension, eVision.ERGBColor color)
 Draw the ESpot.
void Draw (System.Drawing.Graphics graphicsContext, float extension)
 Draw the ESpot.
void Draw (System.Drawing.Graphics graphicsContext)
 Draw the ESpot.

Properties

eVision.ESpotType Type [get]
 Get the type of the spot, i.e. whether it is a ESpotType.ESpotType_Scratch or a ESpotType.ESpotType_Particle.
eVision.ESpotPolarity Polarity [get]
 Get the polarity of the spot, i.e. whether it is ESpotPolarity.ESpotPolarity_White, ESpotPolarity.ESpotPolarity_Black or ESpotPolarity.ESpotPolarity_Any. A Spot's polarity is the same as the polarity setting of the detector when the spot was detected.
eVision.EPoint Center [get]
 Get the center point of the spot.
float Width [get]
 Get the width of the bounding box of spot.
float Height [get]
 Get the height of the bounding box of spot.
uint Area [get]
 Get the area of the spot (in number of pixels).
float Strength [get]
 Get the strength of the spot (the average grey scale value over the local image background).
eVision.ERotatedBoundingBox Box [get]
 Returns the rotated rectangle representing the spot.
eVision.ERegion Region [get]
 Returns the ERegion of the spot (the pixels composing the spot).
eVision.EROIBW8 ROI [get]
 Returns the EROIBW8 of the spot (axis aligned bounding box). The returned ROI is not attached to an image.
string DLLabel [get]
 Returns the Deep Learning classification label.
float DLProbability [get]
 Returns the Deep Learning classification probability.

Detailed Description

The ESpot store information about the detections produced by ESpotDetector. A spot is defined by a type (particle or scratch), a polarity (black or white) and a geometry. The geometry is an arbitrary rectangle, represented by a ERotatedBoundingBox.

License(s): EasySpotDetector

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

Constructor & Destructor Documentation

◆ ESpot() [1/2]

eVision.ESpot.ESpot ( )

Constructs an ESpot with default (invalid) values.

◆ ESpot() [2/2]

eVision.ESpot.ESpot ( eVision.ESpot other)

Copy constructor for ESpot.

Parameters
otherThe other ESpot that we will copy into this one.

Member Function Documentation

◆ Draw() [1/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter)

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.

◆ Draw() [2/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.

◆ Draw() [3/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float extension )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.

◆ Draw() [4/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float extension,
eVision.ERGBColor color )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.

◆ Draw() [5/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float extension,
eVision.ERGBColor color,
float zoomX )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [6/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [7/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [8/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
frameFrame associated with the spot. Usually, frame used to detect the spot.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [9/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
float extension )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.

◆ Draw() [10/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
float extension,
eVision.ERGBColor color )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.

◆ Draw() [11/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
float extension,
eVision.ERGBColor color,
float zoomX )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [12/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [13/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [14/28]

void eVision.ESpot.Draw ( eVision.EDrawAdapter drawAdapter,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the ESpot.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [15/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext)

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [16/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext,
float extension )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [17/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext,
float extension,
eVision.ERGBColor color )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [18/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [19/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [20/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [21/28]

void eVision.ESpot.Draw ( IntPtr graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [22/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext)

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [23/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext,
float extension )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [24/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext,
float extension,
eVision.ERGBColor color )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [25/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [26/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [27/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [28/28]

void eVision.ESpot.Draw ( System.Drawing.Graphics graphicsContext,
float extension,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draw the ESpot.

Parameters
graphicsContextHandle of the graphics context on which to draw.
extensionExtension in pixels of the draw rectangle around the spot. Only used for ESpotType.ESpotType_Particle.
colorColor of the draw rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Load() [1/2]

void eVision.ESpot.Load ( eVision.ESerializer serializer)

Loads the ESpot. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.ESpot.Load ( string path)

Loads the ESpot. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ LocalToSensor()

eVision.ESpot eVision.ESpot.LocalToSensor ( eVision.EFrame frame)

Transforms a spot from local to sensor coordinates.

Parameters
frameReference frame in which the region is defined.

◆ Save() [1/2]

void eVision.ESpot.Save ( eVision.ESerializer serializer)

Saves the ESpot. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.ESpot.Save ( string path)

Saves the ESpot. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ SensorToLocal()

eVision.ESpot eVision.ESpot.SensorToLocal ( eVision.EFrame frame)

Transforms a spot from sensor to local coordinates.

Parameters
frameReference frame in which the region is defined.

Property Documentation

◆ Area

uint eVision.ESpot.Area
get

Get the area of the spot (in number of pixels).

◆ Box

eVision.ERotatedBoundingBox eVision.ESpot.Box
get

Returns the rotated rectangle representing the spot.

◆ Center

eVision.EPoint eVision.ESpot.Center
get

Get the center point of the spot.

◆ DLLabel

string eVision.ESpot.DLLabel
get

Returns the Deep Learning classification label.

This information is available when the Deep Learning classification has been activated by ESpotDetector.DLClassifierPath. See also ESpot.DLProbability.

◆ DLProbability

float eVision.ESpot.DLProbability
get

Returns the Deep Learning classification probability.

This information is available when the Deep Learning classification has been activated by ESpotDetector.DLClassifierPath. See also ESpot.DLLabel.

◆ Height

float eVision.ESpot.Height
get

Get the height of the bounding box of spot.

◆ Polarity

eVision.ESpotPolarity eVision.ESpot.Polarity
get

Get the polarity of the spot, i.e. whether it is ESpotPolarity.ESpotPolarity_White, ESpotPolarity.ESpotPolarity_Black or ESpotPolarity.ESpotPolarity_Any. A Spot's polarity is the same as the polarity setting of the detector when the spot was detected.

◆ Region

eVision.ERegion eVision.ESpot.Region
get

Returns the ERegion of the spot (the pixels composing the spot).

◆ ROI

eVision.EROIBW8 eVision.ESpot.ROI
get

Returns the EROIBW8 of the spot (axis aligned bounding box). The returned ROI is not attached to an image.

◆ Strength

float eVision.ESpot.Strength
get

Get the strength of the spot (the average grey scale value over the local image background).

◆ Type

eVision.ESpotType eVision.ESpot.Type
get

Get the type of the spot, i.e. whether it is a ESpotType.ESpotType_Scratch or a ESpotType.ESpotType_Particle.

◆ Width

float eVision.ESpot.Width
get

Get the width of the bounding box of spot.