Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  tanh◀  tan    |    xor  ▶

tanh

Built-in command

No arguments

Description:

Compute the pointwise hyperbolic tangent of selected images.

Examples of use:

• Example #1

$ gmic image.jpg +normalize -3,3 tanh[-1]

Command: image.jpg +normalize -3,3 tanh[-1]
Command: image.jpg +normalize -3,3 tanh[-1]

• Example #2

$ gmic 300,1,1,1,'4*x/w+u' +tanh display_graph 400,300

Command: 300,1,1,1,'4*x/w+u' +tanh display_graph 400,300
Command: 300,1,1,1,'4*x/w+u' +tanh display_graph 400,300