Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  cos◀  bsr    |    cosh  ▶

cos

Built-in command

No arguments

Description:

Compute the pointwise cosine of selected images.

This command has a tutorial page.

Examples of use:

• Example #1

$ gmic image.jpg +normalize 0,{2*pi} cos[-1]
Command: image.jpg +normalize 0,{2*pi} cos[-1]
Command: image.jpg +normalize 0,{2*pi} cos[-1]

• Example #2

$ gmic 300,1,1,1,'20*x/w+u' +cos display_graph 400,300
Command: 300,1,1,1,'20*x/w+u' +cos display_graph 400,300
Command: 300,1,1,1,'20*x/w+u' +cos display_graph 400,300