Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  argmax◀  and    |    argmaxabs  ▶

argmax

No arguments

Description:

Compute the argmax of selected images. Returns a single image

with each pixel value being the index of the input image with maximal value.

Example of use:

$ gmic image.jpg sample lena,lion,square +argmax

Command: image.jpg sample lena,lion,square +argmax
Command: image.jpg sample lena,lion,square +argmax
Command: image.jpg sample lena,lion,square +argmax
Command: image.jpg sample lena,lion,square +argmax
Command: image.jpg sample lena,lion,square +argmax