Class

at.iem.sysson.fscape.graph

BlobVoices

Related Doc: package graph

Permalink

final case class BlobVoices(in: GE, width: GE, height: GE, numBlobs: GE, bounds: GE, numVertices: GE, vertices: GE, minWidth: GE = 0, minHeight: GE = 0, thresh: GE = 0.0, voices: GE = 4) extends SingleOut with Product with Serializable

A UGen that translates blob detection output into a continuous signal suitable for writing as a managed-voices matrix. The output will be two dimensional matrices with the original number of columns replaced by voices * 10 number of columns. (that is, for input matrix [a][b], the output will be [a][voices*10]).

For each voice, the following ten values will be emitted per column (we give interpretation in 'time' and 'altitude' if the input matrix is [time][altitude], and [y][x] if the input matrix is an image):

- 0 - id (zero for empty or no blob, greater than zero for voice id) - 1 - blobLeft (start altitude) - 2 - blobTop (start time) - 3 - blobWidth (altitude span) - 4 - blobHeight (time span) - 5 - boxLeft (start altitude of slice) - 6 - boxWidth (altitude span of slice) - 7 - sliceMean - 8 - sliceStdDev - 9 - sliceCenter

Where id is zero for unused voice, and greater than zero for a valid blob. During the existence of one blob, the blob boundary fields (1 to 4) remain constant, and the box and slice values vary over time. Blobs are always guaranteed to coherently occupying the same voice.

in

the input matrices

width

the number of columns in the input matrices. read as one element per matrix.

height

the number of rows in the input matrices. read as one element per matrix.

numBlobs

the numBlobs output from the blob detection

bounds

the bounds output from the blob detection

numVertices

the numVertices output from the blob detection

vertices

the vertices output from the blob detection

minWidth

the minimum blob width to be considered. read as one element per matrix.

minHeight

the minimum blob height to be considered. read as one element per matrix.

thresh

threshold in in for elements to be counted in the slices

voices

the maximum number of parallel voices. read at initialization time only.

Linear Supertypes
Serializable, Serializable, SingleOut, SomeOut[StreamOut], Lazy, GE, UGenSource[UGenInLike, StreamOut], Expander[UGenInLike], Lazy, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlobVoices
  2. Serializable
  3. Serializable
  4. SingleOut
  5. SomeOut
  6. Lazy
  7. GE
  8. UGenSource
  9. Expander
  10. Lazy
  11. Product
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BlobVoices(in: GE, width: GE, height: GE, numBlobs: GE, bounds: GE, numVertices: GE, vertices: GE, minWidth: GE = 0, minHeight: GE = 0, thresh: GE = 0.0, voices: GE = 4)

    Permalink

    in

    the input matrices

    width

    the number of columns in the input matrices. read as one element per matrix.

    height

    the number of rows in the input matrices. read as one element per matrix.

    numBlobs

    the numBlobs output from the blob detection

    bounds

    the bounds output from the blob detection

    numVertices

    the numVertices output from the blob detection

    vertices

    the vertices output from the blob detection

    minWidth

    the minimum blob width to be considered. read as one element per matrix.

    minHeight

    the minimum blob height to be considered. read as one element per matrix.

    thresh

    threshold in in for elements to be counted in the slices

    voices

    the maximum number of parallel voices. read at initialization time only.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bounds: GE

    Permalink

    the bounds output from the blob detection

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val height: GE

    Permalink

    the number of rows in the input matrices.

    the number of rows in the input matrices. read as one element per matrix.

  11. val in: GE

    Permalink

    the input matrices

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def makeStream(args: Vec[StreamIn])(implicit b: Builder): StreamOut

    Permalink
    Definition Classes
    BlobVoices → UGenSource
  14. def makeUGen(args: Vec[UGenIn])(implicit b: Builder): UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    BlobVoices → UGenSource
  15. def makeUGens(implicit b: Builder): UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    BlobVoices → Expander
  16. val minHeight: GE

    Permalink

    the minimum blob height to be considered.

    the minimum blob height to be considered. read as one element per matrix.

  17. val minWidth: GE

    Permalink

    the minimum blob width to be considered.

    the minimum blob width to be considered. read as one element per matrix.

  18. final def name: String

    Permalink
    Definition Classes
    UGenSource
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val numBlobs: GE

    Permalink

    the numBlobs output from the blob detection

  23. val numVertices: GE

    Permalink

    the numVertices output from the blob detection

  24. final def rewrap(args: IndexedSeq[UGenInLike], exp: Int)(implicit b: Builder): UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    UGenSource
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val thresh: GE

    Permalink

    threshold in in for elements to be counted in the slices

  27. val vertices: GE

    Permalink

    the vertices output from the blob detection

  28. val voices: GE

    Permalink

    the maximum number of parallel voices.

    the maximum number of parallel voices. read at initialization time only.

  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. val width: GE

    Permalink

    the number of columns in the input matrices.

    the number of columns in the input matrices. read as one element per matrix.

Inherited from Serializable

Inherited from Serializable

Inherited from SingleOut

Inherited from SomeOut[StreamOut]

Inherited from Lazy

Inherited from GE

Inherited from UGenSource[UGenInLike, StreamOut]

Inherited from Expander[UGenInLike]

Inherited from Lazy

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped