Click or drag to resize
Accord.NET (logo)

ObjectsOrder Enumeration

Possible object orders.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public enum ObjectsOrder
Members
  Member nameValueDescription
None0 Unsorted order (as it is collected by algorithm).
Size1 Objects are sorted by size in descending order (bigger objects go first). Size is calculated as Width * Height.
Area2 Objects are sorted by area in descending order (bigger objects go first).
YX3 Objects are sorted by Y coordinate, then by X coordinate in ascending order (smaller coordinates go first).
XY4 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