Pink 0.9

area.c File Reference

return the number of non-null pixels of an image More...


Detailed Description

return the number of non-null pixels of an image

Usage: area in.pgm [out.list]

Description: This function returns (in the list out.list) the number of non-null pixels of the image in.pgm .

If the parameter out.list is ommitted, the result is printed on the standard output.

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

Category: arith

Author:
Michel Couprie