im_stats(3)

im_stats3

Calculate many image statistics in a single pass

Usage

#include <vips/vips.h>

DOUBLEMASK *im_stats(in)
IMAGE *in;

Overview

Find many image statistics in a single pass through the PELs. Returns a DOUBLEMASK of 6 columns by n+1 (where n is number of bands in image in) rows. Columns are statistics, and are, in order: minimum, maximum, sum, sum of squares, mean, standard deviation. Row 0 has statistics for all bands together, row 1 has stats for band 1, and so on.

Non-complex images only!

Return value

NULL on error.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.