Reference

Table of Contents  ▸  List of Commands  ▸  3D Meshes  ▸  elevation3d◀  double3d    |    empty3d  ▶

elevation3d

Arguments:

Description:

Generate 3D elevation of selected images, opt. with a specified elevation map.

When invoked with (no arg) or z-factor, the elevation map is computed as the pointwise L2 norm of the
pixel values. Otherwise, the elevation map is taken from the specified image or formula.

Examples of use:

• Example #1

$ gmic image.jpg +blur 5 elevation3d. 0.75

Command: image.jpg +blur 5 elevation3d. 0.75
Command: image.jpg +blur 5 elevation3d. 0.75

• Example #2

$ gmic 128,128,1,3,u(255) plasma 10,3 blur 4 sharpen 10000 n 0,255 elevation3d[-1] 'X=(x-64)/6;Y=(y-64)/6;-100*exp(-(X^2+Y^2)/30)*abs(cos(X)*sin(Y))'

Command: 128,128,1,3,u(255) plasma 10,3 blur 4 sharpen 10000 n 0,255 elevation3d[-1] 'X=(x-64)/6;Y=(y-64)/6;-100*exp(-(X^2+Y^2)/30)*abs(cos(X)*sin(Y))'