Image Statistics

Note

This module is deprecated.

morphocut.stat.RunningMedian()[source]

Calculate the running median of a value over a stream of objects.

Parameters
  • value (Variable of numpy.ndarray) – Values to calculate the running mean for.

  • n_init (int) – Number of objects to initialize the median estimate.

Returns

Variable[numpy.ndarray] – Running median approximation of value.

This node uses the efficient approximation of the median from: Mcfarlane, N. J. B., & Schofield, C. P. (1995). Segmentation and tracking of piglets in images. In Machine Vision and Applications (Vol. 8).