Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  dct◀  curvature    |    deblur  ▶

dct

Arguments:

Description:

Compute the discrete cosine transform of selected images, optionally along the specified axes only.

Output images are always evenly sized, so this command may change the size of the selected images.

Default values:

(no arg)

See also:

idct.

This command has a tutorial page.

Example of use:

$ gmic image.jpg +dct +idct[-1] abs[-2] +[-2] 1 log[-2]
Command: image.jpg +dct +idct[-1] abs[-2] +[-2] 1 log[-2]
Command: image.jpg +dct +idct[-1] abs[-2] +[-2] 1 log[-2]
Command: image.jpg +dct +idct[-1] abs[-2] +[-2] 1 log[-2]