Pink 0.9

countvalues.c File Reference

counts the number of distinct values of an image or a region More...


Detailed Description

counts the number of distinct values of an image or a region

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

Description: Counts the number of distinct values of im.pgm (masked by the binary image mask.pgm, if given) and saves it in file out.list .

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

Category: histo

Author:
Michel Couprie