Table of Contents

Class ContainsPoint

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that determines whether each point in the sequence is contained inside a rectangle, contour, or other polygonal shape.

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class ContainsPoint
Inheritance
ContainsPoint
Inherited Members

Methods

Process(IObservable<Tuple<ConnectedComponent, Point2f>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour of a connected component.

public IObservable<bool> Process(IObservable<Tuple<ConnectedComponent, Point2f>> source)

Parameters

source IObservable<Tuple<ConnectedComponent, Point2f>>

A sequence of pairs containing a ConnectedComponent object and a point with single-precision floating-point coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour of a connected component.

Process(IObservable<Tuple<ConnectedComponent, Point>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour of a connected component.

public IObservable<bool> Process(IObservable<Tuple<ConnectedComponent, Point>> source)

Parameters

source IObservable<Tuple<ConnectedComponent, Point>>

A sequence of pairs containing a ConnectedComponent object and a point with integer coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour of a connected component.

Process(IObservable<Tuple<Contour, Point2f>>)

Determines whether each point in an observable sequence is contained inside a polygonal contour.

public IObservable<bool> Process(IObservable<Tuple<Contour, Point2f>> source)

Parameters

source IObservable<Tuple<Contour, Point2f>>

A sequence of pairs containing a OpenCV.Net.Contour object and a point with single-precision floating-point coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour.

Process(IObservable<Tuple<Contour, Point>>)

Determines whether each point in an observable sequence is contained inside a polygonal contour.

public IObservable<bool> Process(IObservable<Tuple<Contour, Point>> source)

Parameters

source IObservable<Tuple<Contour, Point>>

A sequence of pairs containing a OpenCV.Net.Contour object and a point with integer coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour.

Process(IObservable<Tuple<Point, ConnectedComponent>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour of a connected component.

public IObservable<bool> Process(IObservable<Tuple<Point, ConnectedComponent>> source)

Parameters

source IObservable<Tuple<Point, ConnectedComponent>>

A sequence of pairs containing a point with integer coordinates and a ConnectedComponent object to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour of a connected component.

Process(IObservable<Tuple<Point, Contour>>)

Determines whether each point in an observable sequence is contained inside a polygonal contour.

public IObservable<bool> Process(IObservable<Tuple<Point, Contour>> source)

Parameters

source IObservable<Tuple<Point, Contour>>

A sequence of pairs containing a point with integer coordinates and a OpenCV.Net.Contour object to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour.

Process(IObservable<Tuple<Point, Point[][]>>)

Determines whether each point in an observable sequence is contained inside any of the polygonal contours specified by arrays of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point, Point[][]>> source)

Parameters

source IObservable<Tuple<Point, Point[][]>>

A sequence of pairs containing a point with integer coordinates and a jagged array of Point values specifying the contours to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside any of the polygonal contours specified by arrays of vertices.

Process(IObservable<Tuple<Point, Point[]>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour specified by an array of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point, Point[]>> source)

Parameters

source IObservable<Tuple<Point, Point[]>>

A sequence of pairs containing a point with integer coordinates and a Point array specifying the contour to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour specified by an array of vertices.

Process(IObservable<Tuple<Point, Rect>>)

Determines whether each point in an observable sequence is contained inside a rectangle.

public IObservable<bool> Process(IObservable<Tuple<Point, Rect>> source)

Parameters

source IObservable<Tuple<Point, Rect>>

A sequence of pairs containing a point with integer coordinates and a rectangle to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the rectangle.

Process(IObservable<Tuple<Point2f, ConnectedComponent>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour of a connected component.

public IObservable<bool> Process(IObservable<Tuple<Point2f, ConnectedComponent>> source)

Parameters

source IObservable<Tuple<Point2f, ConnectedComponent>>

A sequence of pairs containing a point with single-precision floating-point coordinates and a ConnectedComponent object to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour of a connected component.

Process(IObservable<Tuple<Point2f, Contour>>)

Determines whether each point in an observable sequence is contained inside a polygonal contour.

public IObservable<bool> Process(IObservable<Tuple<Point2f, Contour>> source)

Parameters

source IObservable<Tuple<Point2f, Contour>>

A sequence of pairs containing a point with single-precision floating-point coordinates and a OpenCV.Net.Contour object to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour.

Process(IObservable<Tuple<Point2f, Point[][]>>)

Determines whether each point in an observable sequence is contained inside any of the polygonal contours specified by arrays of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point2f, Point[][]>> source)

Parameters

source IObservable<Tuple<Point2f, Point[][]>>

A sequence of pairs containing a point with single-precision floating-point coordinates and a jagged array of Point values specifying the contours to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside any of the polygonal contours specified by arrays of vertices.

Process(IObservable<Tuple<Point2f, Point[]>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour specified by an array of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point2f, Point[]>> source)

Parameters

source IObservable<Tuple<Point2f, Point[]>>

A sequence of pairs containing a point with single-precision floating-point coordinates and a Point array specifying the contour to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour specified by an array of vertices.

Process(IObservable<Tuple<Point2f, Rect>>)

Determines whether each point in an observable sequence is contained inside a rectangle.

public IObservable<bool> Process(IObservable<Tuple<Point2f, Rect>> source)

Parameters

source IObservable<Tuple<Point2f, Rect>>

A sequence of pairs containing a point with single-precision floating-point coordinates and a rectangle to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the rectangle.

Process(IObservable<Tuple<Point[], Point2f>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour specified by an array of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point[], Point2f>> source)

Parameters

source IObservable<Tuple<Point[], Point2f>>

A sequence of pairs containing a Point array specifying the contour and a point with single-precision floating-point coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour specified by an array of vertices.

Process(IObservable<Tuple<Point[], Point>>)

Determines whether each point in an observable sequence is contained inside the polygonal contour specified by an array of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point[], Point>> source)

Parameters

source IObservable<Tuple<Point[], Point>>

A sequence of pairs containing a Point array specifying the contour and a point with integer coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the polygonal contour specified by an array of vertices.

Process(IObservable<Tuple<Point[][], Point2f>>)

Determines whether each point in an observable sequence is contained inside any of the polygonal contours specified by arrays of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point[][], Point2f>> source)

Parameters

source IObservable<Tuple<Point[][], Point2f>>

A sequence of pairs containing a jagged array of Point values specifying the contours and a point with single-precision floating-point coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside any of the polygonal contours specified by arrays of vertices.

Process(IObservable<Tuple<Point[][], Point>>)

Determines whether each point in an observable sequence is contained inside any of the polygonal contours specified by arrays of vertices.

public IObservable<bool> Process(IObservable<Tuple<Point[][], Point>> source)

Parameters

source IObservable<Tuple<Point[][], Point>>

A sequence of pairs containing a jagged array of Point values specifying the contours and a point with integer coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside any of the polygonal contours specified by arrays of vertices.

Process(IObservable<Tuple<Rect, Point2f>>)

Determines whether each point in an observable sequence is contained inside a rectangle.

public IObservable<bool> Process(IObservable<Tuple<Rect, Point2f>> source)

Parameters

source IObservable<Tuple<Rect, Point2f>>

A sequence of pairs containing a rectangle and a point with single-precision floating-point coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the rectangle.

Process(IObservable<Tuple<Rect, Point>>)

Determines whether each point in an observable sequence is contained inside a rectangle.

public IObservable<bool> Process(IObservable<Tuple<Rect, Point>> source)

Parameters

source IObservable<Tuple<Rect, Point>>

A sequence of pairs containing a rectangle and a point with integer coordinates to test.

Returns

IObservable<bool>

A sequence of bool values indicating whether the point is contained inside the rectangle.