GimpSlur

final case class GimpSlur(in: D, width: I, height: I, kernel: D, kernelWidth: I, kernelHeight: I, repeat: I, wrap: I) extends SingleOut[Double]

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.

Value parameters:
height

image height

in

image input

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).

kernelHeight

height of the kernel signal. Read once per input image.

kernelWidth

width of the kernel signal. Read once per input image.

repeat

number of recursive application of the displacement per image. Read once per input image.

width

image width

wrap

if great than zero, wraps pixels around the image bounds, otherwise clips.

Companion:
object
trait Serializable
trait SingleOut[Double]
trait Lazy[Double]
trait GE[Double]
trait Expander[UGenInLike[Double]]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final def name: String
Inherited from:
UGenSource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product