Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    CVHandle
    Seq
    Chain
    Inherited Members
    Seq.Storage
    Seq.Kind
    Seq.ElementSize
    Seq.Count
    Seq.HPrev
    Seq.HNext
    Seq.VPrev
    Seq.VNext
    Seq.SetBlockSize(Int32)
    Seq.Push()
    Seq.Push<TElement>(TElement[])
    Seq.PushFront()
    Seq.PushFront<TElement>(TElement[])
    Seq.Pop()
    Seq.Pop<TElement>(TElement)
    Seq.Pop<TElement>(TElement[])
    Seq.PopFront()
    Seq.PopFront<TElement>(TElement)
    Seq.PopFront<TElement>(TElement[])
    Seq.Insert<TElement>(Int32, TElement)
    Seq.Insert(Int32, Seq)
    Seq.Insert(Int32, Arr)
    Seq.Remove(Int32)
    Seq.Remove(SeqSlice)
    Seq.Clear()
    Seq.GetElement(Int32)
    Seq.GetElementIndex(IntPtr)
    Seq.CopyTo<TElement>(TElement[])
    Seq.CopyTo<TElement>(TElement[], SeqSlice)
    Seq.ToArray<TElement>()
    Seq.Slice(SeqSlice, MemStorage, Boolean)
    Seq.Clone(MemStorage)
    Seq.Sort<TElement>(Comparison<TElement>)
    Seq.Search<TElement>(TElement, Comparison<TElement>, Boolean)
    Seq.Invert()
    Seq.Partition<TElement>(MemStorage, Seq, Func<TElement, TElement, Boolean>)
    Seq.ReleaseHandle()
    Namespace: OpenCV.Net
    Assembly: OpenCV.Net.dll
    Syntax
    public class Chain : Seq

    Properties

    | Improve this Doc View Source

    HeaderSize

    Gets the size of the Chain header, in bytes.

    Declaration
    public static int HeaderSize { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Origin

    Gets the origin of the Freeman chain.

    Declaration
    public Point Origin { get; }
    Property Value
    Type Description
    Point

    Methods

    | Improve this Doc View Source

    FromSeq(Seq)

    Initializes a new Chain instance from a compatible 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 seq.

    | Improve this Doc View Source

    ReadChainPoints()

    Translates in sequence all of the points in the Freeman chain code.

    Declaration
    public IEnumerable<Point> ReadChainPoints()
    Returns
    Type Description
    IEnumerable<Point>

    An whose elements are the result of translating the Freeman chain code into points.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX