final case class GimpSlur(in: D, width: I, height: I, kernel: D, kernelWidth: I, kernelHeight: I, repeat: I = 1, wrap: I = 0) extends SingleOut[Double] with Product with Serializable
A UGen similar to GIMP's Slur image filter. Instead of a hard-coded kernel,
the probability table must be provided as a separate input.
The kernel width and height should be odd, so that the kernel is considered to be
symmetric around each input image's pixel. If they are odd, the centre corresponds to
integer divisions kernelWidth/2
and kernelHeight/2
.
- in
image input
- width
image width
- height
image height
- kernel
normalized and integrated probability table. Like the image, the cells are read horizontally first, every
widthKernel
cell begins a new cell. The cell probabilities must have been integrated from first to last, and must be normalized so that the last cell value equals one. A new kernel signal is read once per input image. (If the signal ends, the previous kernel will be used again).- kernelWidth
width of the kernel signal. Read once per input image.
- kernelHeight
height of the kernel signal. Read once per input image.
- repeat
number of recursive application of the displacement per image. Read once per input image.
- wrap
if great than zero, wraps pixels around the image bounds, otherwise clips.
- Alphabetic
- By Inheritance
- GimpSlur
- Serializable
- SingleOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GimpSlur(in: D, width: I, height: I, kernel: D, kernelWidth: I, kernelHeight: I, repeat: I = 1, wrap: I = 0)
- in
image input
- width
image width
- height
image height
- kernel
normalized and integrated probability table. Like the image, the cells are read horizontally first, every
widthKernel
cell begins a new cell. The cell probabilities must have been integrated from first to last, and must be normalized so that the last cell value equals one. A new kernel signal is read once per input image. (If the signal ends, the previous kernel will be used again).- kernelWidth
width of the kernel signal. Read once per input image.
- kernelHeight
height of the kernel signal. Read once per input image.
- repeat
number of recursive application of the displacement per image. Read once per input image.
- wrap
if great than zero, wraps pixels around the image bounds, otherwise clips.
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 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
- val kernel: D
- val kernelHeight: I
- val kernelWidth: I
- def makeUGen(args: IndexedSeq[UGenIn[_]])(implicit b: Builder): UGenInLike[Double]
- Attributes
- protected
- Definition Classes
- GimpSlur → UGenSource
- def makeUGens(implicit b: Builder): UGenInLike[Double]
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 productElementNames: Iterator[String]
- Definition Classes
- Product
- val repeat: I
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- val wrap: I
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated