the window'ed input to analyze
the size of the input windows
the length of the sliding median window (the filter window applied to every cell of the input window)
the percentile from zero to one. The default of 0.5 produces the median.
if zero (default), uses nearest-rank, otherwise uses linear interpolation. Note: currently not implemented, must be zero
the percentile from zero to one.
the percentile from zero to one. The default of 0.5 produces the median.
the window'ed input to analyze
if zero (default), uses nearest-rank, otherwise uses linear interpolation.
if zero (default), uses nearest-rank, otherwise uses linear interpolation. Note: currently not implemented, must be zero
Abstract method which must be implemented by creating the actual UGen
s
during expansion.
Abstract method which must be implemented by creating the actual UGen
s
during expansion. This method is at most called once during graph
expansion
the expanded object (depending on the type parameter U
)
the length of the sliding median window (the filter window applied to every cell of the input window)
the size of the input windows
A UGen that reports a percentile of a sliding window across every cell of a window'ed input (such as an image).
The UGen starts outputting values immediately, even if the
medianLen
is not yet reached. This is becausemedianLen
can be modulated (per input window). If one wants to discard the initial values, use adrop
, for example formedianLen/2 * winSize
frames.Note that for an even median length and no interpolation, the reported median may be either the value at index
medianLen/2
ormedianLen/2 + 1
in the sorted window.All arguments but
in
are polled per input window. Changing thefrac
value may cause an internal table rebuild and can thus be expensive.the window'ed input to analyze
the size of the input windows
the length of the sliding median window (the filter window applied to every cell of the input window)
the percentile from zero to one. The default of 0.5 produces the median.
if zero (default), uses nearest-rank, otherwise uses linear interpolation. Note: currently not implemented, must be zero