Pink 0.9

variance1.c File Reference

return the variance of the pixel values of an image More...


Detailed Description

return the variance of the pixel values of an image

Usage: variance1 in.pgm [mask.pgm] out.list

Description: This function returns (in the list out.list) the variance of the pixel values of the image in.pgm . If the optional parameter mask.pgm is given, then only the values which correspond to non-null points of mask are considered.

Types supported: byte 2d, byte 3d, int32_t 2d, int32_t 3d, float 2d, float 3d

Category: signal stats

Author:
Michel Couprie