Packages

c

at.iem.sysson.fscape.graph

BlobVoices

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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bounds: GE
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. val height: GE
  11. val in: GE
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def makeStream(args: Vec[StreamIn])(implicit b: Builder): StreamOut
    Definition Classes
    BlobVoices → UGenSource
  14. def makeUGen(args: Vec[UGenIn])(implicit b: Builder): UGenInLike
    Attributes
    protected
    Definition Classes
    BlobVoices → UGenSource
  15. def makeUGens(implicit b: Builder): UGenInLike
    Attributes
    protected
    Definition Classes
    BlobVoices → Expander
  16. val minHeight: GE
  17. val minWidth: GE
  18. final def name: String
    Definition Classes
    UGenSource
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. val numBlobs: GE
  23. val numVertices: GE
  24. final def rewrap(args: IndexedSeq[UGenInLike], exp: Int)(implicit b: Builder): UGenInLike
    Attributes
    protected
    Definition Classes
    UGenSource
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. val thresh: GE
  27. val vertices: GE
  28. val voices: GE
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. val width: GE

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