Packages

final case class ScanImage(in: D, width: I, height: I, x: D = 0, y: D = 0, next: B = false, wrap: I = 0, rollOff: D = 0.86, kaiserBeta: D = 7.5, zeroCrossings: I = 0) extends SingleOut[Double] with Product with Serializable

A UGen that scans the pixels of an image using an x and y input signal. It uses either a sinc-based band-limited resampling algorithm, or bicubic interpolation, depending on the zeroCrossings parameter.

All window defining parameters (width, height) are polled once per matrix. All scanning and filter parameters are polled one per output pixel.

in

the image to scan

width

the width (number of columns) of the input matrix

height

the height (number of rows) of the input matrix

x

horizontal position of the dynamic scanning signal

y

vertical position of the dynamic scanning signal

next

a trigger that causes the UGen to read in a new image from in.

wrap

if non-zero, wraps coordinates around the input images boundaries. TODO: currently wrap = 0 is broken if using sinc interpolation!

rollOff

the FIR anti-aliasing roll-off width. Between zero and one.

kaiserBeta

the FIR windowing function's parameter

zeroCrossings

the number of zero-crossings in the truncated and windowed sinc FIR. If zero (default), algorithm uses bicubic interpolation instead.

See also

AffineTransform2D

Slices

PenImage

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

Instance Constructors

  1. new ScanImage(in: D, width: I, height: I, x: D = 0, y: D = 0, next: B = false, wrap: I = 0, rollOff: D = 0.86, kaiserBeta: D = 7.5, zeroCrossings: I = 0)

    in

    the image to scan

    width

    the width (number of columns) of the input matrix

    height

    the height (number of rows) of the input matrix

    x

    horizontal position of the dynamic scanning signal

    y

    vertical position of the dynamic scanning signal

    next

    a trigger that causes the UGen to read in a new image from in.

    wrap

    if non-zero, wraps coordinates around the input images boundaries. TODO: currently wrap = 0 is broken if using sinc interpolation!

    rollOff

    the FIR anti-aliasing roll-off width. Between zero and one.

    kaiserBeta

    the FIR windowing function's parameter

    zeroCrossings

    the number of zero-crossings in the truncated and windowed sinc FIR. If zero (default), algorithm uses bicubic interpolation instead.

Value Members

  1. val height: I
  2. val in: D
  3. val kaiserBeta: D
  4. final def name: String
    Definition Classes
    UGenSource
  5. val next: B
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. val rollOff: D
  8. val width: I
  9. val wrap: I
  10. val x: D
  11. val y: D
  12. val zeroCrossings: I