The eVision.ESpot store information about the detections produced by eVision.ESpotDetector. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.ESpot with default (invalid) values. | |
| None | __init__ (self, eVision.ESpot other) |
| Copy constructor for eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float extension, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float extension, eVision.ERGBColor color, float zoomX) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float extension, eVision.ERGBColor color) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float extension) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color, float zoomX) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float extension, eVision.ERGBColor color) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float extension) |
| Draw the eVision.ESpot. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame) |
| Draw the eVision.ESpot. | |
| None | Load (self, str path) |
| Loads the eVision.ESpot. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.ESpot. | |
| None | Save (self, str path) |
| Saves the eVision.ESpot. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.ESpot. | |
| eVision.ESpot | LocalToSensor (self, eVision.EFrame frame) |
| Transforms a spot from local to sensor coordinates. | |
| eVision.ESpot | SensorToLocal (self, eVision.EFrame frame) |
| Transforms a spot from sensor to local coordinates. | |
| eVision.ESpotType | Type (self) |
| Get the type of the spot, i.e. | |
| eVision.ESpotPolarity | Polarity (self) |
| Get the polarity of the spot, i.e. | |
| eVision.EPoint | Center (self) |
| Get the center point of the spot. | |
| float | Width (self) |
| Get the width of the bounding box of spot. | |
| float | Height (self) |
| Get the height of the bounding box of spot. | |
| int | Area (self) |
| Get the area of the spot (in number of pixels). | |
| float | Strength (self) |
| Get the strength of the spot (the average grey scale value over the local image background). | |
| eVision.ERotatedBoundingBox | Box (self) |
| Returns the rotated rectangle representing the spot. | |
| eVision.ERegion | Region (self) |
| Returns the eVision.ERegion of the spot (the pixels composing the spot). | |
| eVision.EROIBW8 | ROI (self) |
| Returns the eVision.EROIBW8 of the spot (axis aligned bounding box). | |
| str | DLLabel (self) |
| Returns the Deep Learning classification label. | |
| float | DLProbability (self) |
| Returns the Deep Learning classification probability. | |
The eVision.ESpot store information about the detections produced by eVision.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 eVision.ERotatedBoundingBox.
Remarks:
License(s): EasySpotDetector
| None eVision.ESpot.__init__ | ( | self | ) |
Constructs an eVision.ESpot with default (invalid) values.
| None eVision.ESpot.__init__ | ( | self, | |
| eVision.ESpot | other ) |
Copy constructor for eVision.ESpot.
| other | The other eVision.ESpot that we will copy into this one. |
| int eVision.ESpot.Area | ( | self | ) |
Get the area of the spot (in number of pixels).
| eVision.ERotatedBoundingBox eVision.ESpot.Box | ( | self | ) |
Returns the rotated rectangle representing the spot.
| eVision.EPoint eVision.ESpot.Center | ( | self | ) |
Get the center point of the spot.
| str eVision.ESpot.DLLabel | ( | self | ) |
Returns the Deep Learning classification label.
This information is available when the Deep Learning classification has been activated by eVision.ESpotDetector.DLClassifierPath. See also eVision.ESpot.DLProbability.
| float eVision.ESpot.DLProbability | ( | self | ) |
Returns the Deep Learning classification probability.
This information is available when the Deep Learning classification has been activated by eVision.ESpotDetector.DLClassifierPath. See also eVision.ESpot.DLLabel.
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | extension ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | extension, | ||
| eVision.ERGBColor | color ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), 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. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| frame | Frame associated with the spot. Usually, frame used to detect the spot. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), 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. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | extension ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | extension, | ||
| eVision.ERGBColor | color ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), 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. |
| None eVision.ESpot.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | extension, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draw the eVision.ESpot.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| extension | Extension in pixels of the draw rectangle around the spot. Only used for eVision.ESpotType.Particle. |
| color | Color of the draw rectangle. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), 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. |
| float eVision.ESpot.Height | ( | self | ) |
Get the height of the bounding box of spot.
| None eVision.ESpot.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.ESpot.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.ESpot.Load | ( | self, | |
| str | path ) |
Loads the eVision.ESpot.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| eVision.ESpot eVision.ESpot.LocalToSensor | ( | self, | |
| eVision.EFrame | frame ) |
Transforms a spot from local to sensor coordinates.
| frame | Reference frame in which the region is defined. |
| eVision.ESpotPolarity eVision.ESpot.Polarity | ( | self | ) |
Get the polarity of the spot, i.e.
whether it is eVision.ESpotPolarity.White, eVision.ESpotPolarity.Black or eVision.ESpotPolarity.Any. A Spot's polarity is the same as the polarity setting of the detector when the spot was detected.
| eVision.ERegion eVision.ESpot.Region | ( | self | ) |
Returns the eVision.ERegion of the spot (the pixels composing the spot).
| eVision.EROIBW8 eVision.ESpot.ROI | ( | self | ) |
Returns the eVision.EROIBW8 of the spot (axis aligned bounding box).
The returned ROI is not attached to an image.
| None eVision.ESpot.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.ESpot.
The given eVision.ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.ESpot.Save | ( | self, | |
| str | path ) |
Saves the eVision.ESpot.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| eVision.ESpot eVision.ESpot.SensorToLocal | ( | self, | |
| eVision.EFrame | frame ) |
Transforms a spot from sensor to local coordinates.
| frame | Reference frame in which the region is defined. |
| float eVision.ESpot.Strength | ( | self | ) |
Get the strength of the spot (the average grey scale value over the local image background).
| eVision.ESpotType eVision.ESpot.Type | ( | self | ) |
Get the type of the spot, i.e.
whether it is a eVision.ESpotType.Scratch or a eVision.ESpotType.Particle.
| float eVision.ESpot.Width | ( | self | ) |
Get the width of the bounding box of spot.