final case class Blobs2D(in: D, width: I, height: I, thresh: D = 0.3, pad: I = 0) extends MultiOut[Any] with Product with Serializable
A blob detection UGen. It is based on the meta-balls algorithm by Julien Gachadoat (http://www.v3ga.net/processing/BlobDetection/).
Currently, we output four channels:
- 0 - numBlobs
- flushes for each window one element with the number of blobs detected
- 1 - bounds
- quadruplets of xMin
, xMax
, yMin
, yMax
- for each blob
- 2 - numVertices
- the number of vertices (contour coordinates) for each blob
- 3 - vertices
- tuples of x
and y
for the vertices of each blob
- in
the image(s) to analyse
- width
the width of the image
- height
the height of the image
- thresh
the threshold for blob detection between zero and one
- pad
size of "border" to put around input matrices. If greater than zero, a border of that size is created internally, filled with the threshold value
- Alphabetic
- By Inheritance
- Blobs2D
- Serializable
- MultiOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Blobs2D(in: D, width: I, height: I, thresh: D = 0.3, pad: I = 0)
- in
the image(s) to analyse
- width
the width of the image
- height
the height of the image
- thresh
the threshold for blob detection between zero and one
- pad
size of "border" to put around input matrices. If greater than zero, a border of that size is created internally, filled with the threshold value
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bounds: D
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val height: I
- val in: D
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeUGen(args: IndexedSeq[UGenIn[_]])(implicit b: Builder): UGenInLike[Any]
- Attributes
- protected
- Definition Classes
- Blobs2D → UGenSource
- def makeUGens(implicit b: Builder): UGenInLike[Any]
Abstract method which must be implemented by creating the actual
UGen
s during expansion. - final def name: String
- Definition Classes
- UGenSource
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def numBlobs: I
- def numVertices: I
- val pad: I
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thresh: D
- def vertices: D
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val width: I
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated