Package

toolkit.computervision

annotation

Permalink

package annotation

Visibility
  1. Public
  2. All

Type Members

  1. class CircleWriter extends libcog.Operator

    Permalink

    A user function class for writing a circle to a ScalarField.

    A user function class for writing a circle to a ScalarField. The shape of the output must be defined at definition time. The position and size of the circle are specified by ScalarFields which can change over time.

    Example:

    val circleWriter = new CircleWriter(Shape(10,10)) val row = ScalarField(5f) val column = ScalarField(5f) val radius = ScalarField(5f) val fieldWithCircle = cirlceWriter(row, column, radius)

    Note that CircleWriters contains internal state that is mutated each time the operator is called, requiring a different CircleWriter for each cross you want to generate.

  2. class CrossWriter extends libcog.Operator

    Permalink

    A user function class for writing a cross to a ScalarField.

    A user function class for writing a cross to a ScalarField. The shape of the output must be defined at definition time. The position and size of the cross are specified by ScalarFields which can change over time.

    Example:

    val crossWriter = new CrossWriter(Shape(10,10)) val row = ScalarField(5f) val column = ScalarField(5f) val radius = ScalarField(5f) val fieldWithCross = crossWriter(row, column, radius)

    Note that CrossWriters contains internal state that is mutated each time the operator is called, requiring a different CrossWriter for each cross you want to generate.

Ungrouped