Possible object orders.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public enum ObjectsOrder

Members

Member nameDescription
None
Unsorted order (as it is collected by algorithm).
Size
Objects are sorted by size in descending order (bigger objects go first). Size is calculated as Width * Height.
Area
Objects are sorted by area in descending order (bigger objects go first).
YX
Objects are sorted by Y coordinate, then by X coordinate in ascending order (smaller coordinates go first).
XY
Objects are sorted by X coordinate, then by Y coordinate in ascending order (smaller coordinates go first).

Remarks

The enumeration defines possible sorting orders of objects, found by blob counting classes.

See Also