Skip to content

array_mean_var_msk

array_mean_var_msk(img, msk, n, cut, verbose)

Categories: Image corrections

Description

computes the mean and variance of an image with pixels above the value mean+cut*stddev removed. This is iterated n times as the mean and variance change as pixels are removed.

Constraints

  • img.format == 'f'
  • msk.format == 'B' or msk.format == 'b'
  • msk.n == img.n

Overloads

C function Condition
array_mean_var_msk always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)