Found |
public class FoundPolygon : BaseFoundImageProcessingObject, IFoundObject
The FoundPolygon type exposes the following members.
Name | Description | |
---|---|---|
![]() | FoundPolygon | Constructs a new, empty polygon. |
Name | Description | |
---|---|---|
![]() | Angle |
The angle of the first side (i. e. the width of the smallest
bounding box) relative to the x axis in rad, measured
counterclockwise.
(Inherited from BaseFoundImageProcessingObject) |
![]() | Area |
The area enclosed by the polygon. Only reliable if there are no
intersections of the edges.
See https://web.archive.org/web/20100405070507/http://valis.cs.uiuc.edu/~sariel/research/CG/compgeom/msg00831.html.
(Overrides BaseFoundImageProcessingObjectArea) |
![]() | BoundingBox | |
![]() | Center |
The center point of the polygon, i. e. the average of all corners.
(Overrides BaseFoundImageProcessingObjectCenter) |
![]() | Corners | The list of all Corners building the polygon. It is implicitly assumed to be closed, i. e. last and first corner does not have to be the same. |
![]() | DistanceToOrigin |
Distance of the object's center to the workspace's center in
world coordinates in the workspace's coordinate system.
(Inherited from BaseFoundImageProcessingObject) |
![]() | DistanceToRoiCenter |
The distance between the found object's center and the center
of the region of interest in which the object has been found.
(Inherited from BaseFoundImageProcessingObject) |
![]() | Edges | The list of all edges building the closed polygon. |
![]() | FilterFields | Only for the GUI: This array controls which properties in the result output will have a funnel for transferring a value range around the current value into the filter/selection group. If empty, all relevant properties will have a funnel. |
![]() | ImageIndex |
The image processing plug-in has a ring buffer array of images
where the result of an object finding process is stored. This
index is stored here.
(Inherited from BaseFoundImageProcessingObject) |
![]() | IsHexagon | True if the polygon has six corners. |
![]() | IsPentagon | True if the polygon has five corners. |
![]() | IsQuad | True if the polygon has four corners. |
![]() | IsTriangle | True if the polygon has three corners. |
![]() | Length |
The summed up length of all edges.
(Overrides BaseFoundImageProcessingObjectLength) |
![]() | ObjectColor |
The color a found object will have when drawn in a result image.
(Inherited from BaseFoundImageProcessingObject) |
![]() | ObjectFields | The list of the relevant parameters and their values in the result output. |
![]() | ObjectText | The list of parameters and their values as string for showing in the GUI. |
![]() | ObjectTypeTitle | The title of an object entry in the list of results. |
![]() | ObjectUnit |
The unit the found object's coordinate are in. Pixel or millimeter.
(Inherited from BaseFoundImageProcessingObject) |
![]() | RoiCenter |
The center of the region of interest in which the object has been
found in micrometers in world coordinates in the workspace's
coordinate system.
(Inherited from BaseFoundImageProcessingObject) |
![]() | SearchNo |
The sequential number of the search which is done during the image
processing job. I. e. an identifier for the 1st, 2nd or 3rd search
an object has been found in; the value is 1, 2 or 3.
(Inherited from BaseFoundImageProcessingObject) |
![]() | Size |
The size of the (possibly rotated) bounding box around the object.
(Inherited from BaseFoundImageProcessingObject) |
![]() | UnitFactor |
Unit factor to convert micrometers into millimeters in case the unit is not pixel.
(Inherited from BaseFoundImageProcessingObject) |
Name | Description | |
---|---|---|
![]() | AddCorner | Adds the given corner to the list of corners. |
![]() | CloneDeep |
Creates a deep clone of this object.
(Inherited from BaseFoundImageProcessingObject) |
![]() | IsCenterEqual |
Checks if this object has the same center as the other object.
(Inherited from BaseFoundImageProcessingObject) |
![]() | IsEquilateral | Checks if all edges of the polygon have nearly the same length. I. e. an edge must not differ more then one percent from the ave length of all edges. |
![]() | SetFilter |
Only for the GUI: Sets a funnel button in front of the displayed property in
the result list when the property name is contained in the given string
array. The button transfers a value range around the property value into
the according value range fields in the dialog.
(Inherited from BaseFoundImageProcessingObject) |
![]() | ToString |
Returns the list of all relevant properties as combined string.
(Inherited from BaseFoundImageProcessingObject) |
Name | Description | |
---|---|---|
![]() | _angle |
The angle, measured counter clockwise, between the object (in case
of a line) or its bounding box and the x axis.
(Inherited from BaseFoundImageProcessingObject) |
![]() | _area |
The area enclosed by the object's contour.
(Inherited from BaseFoundImageProcessingObject) |
![]() | _center |
The center point of the object.
(Inherited from BaseFoundImageProcessingObject) |
![]() | _length |
The length or circumference of the object's contour.
(Inherited from BaseFoundImageProcessingObject) |