Class Chain
Represents a Freeman chain where a polygon is specified as a sequence of steps in one of eight directions from a point origin.
Inherited Members
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public class Chain : Seq
Properties
| Improve this Doc View SourceHeaderSize
Gets the size of the Chain header, in bytes.
Declaration
public static int HeaderSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
Origin
Gets the origin of the Freeman chain.
Declaration
public Point Origin { get; }
Property Value
Type | Description |
---|---|
Point |
Methods
| Improve this Doc View SourceFromSeq(Seq)
Declaration
public static Chain FromSeq(Seq seq)
Parameters
Type | Name | Description |
---|---|---|
Seq | seq | A Seq instance representing a Freeman chain. |
Returns
Type | Description |
---|---|
Chain | A new Chain header for the specified |
ReadChainPoints()
Translates in sequence all of the points in the Freeman chain code.
Declaration
public IEnumerable<Point> ReadChainPoints()
Returns
Type | Description |
---|---|
IEnumerable<Point> | An |