Skip to content

array_stats

array_stats(img)

Categories: Image corrections

Description

computes statistics for an image. img Input data array (1D or 2D.ravel(), so sparse or dense) npx length of data array (contiguous) *minval minimum of the pixels *maxval maximum of the pixels s1 Sum of all pixel s2 Sum of pixel^2

Constraints

  • img.format == 'f'

Overloads

C function Condition
array_stats always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)