Pink 0.9

argmax.c File Reference

return the coordinates of a pixel having the maximal value More...


Detailed Description

return the coordinates of a pixel having the maximal value

Usage: argmax in.pgm [out.list]

Description: This function returns (in the list out.list) coordinates of a pixel having the maximal value in 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