Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  smooth◀  sharpen    |    split_freq  ▶

smooth

Built-in command

Arguments:

Description:

Smooth selected images anisotropically using diffusion PDE's, with specified field of

diffusion tensors.
interpolation can be { 0=nearest | 1=linear | 2=runge-kutta }.

Default values:

sharpness=0.7, anisotropy=0.3, alpha=0.6, sigma=1.1, dl=0.8, da=30, precision=2, interpolation=0 and fast_approx=1.

This command has a tutorial page.

Examples of use:

• Example #1

$ gmic image.jpg repeat 3 smooth 40,0,1,1,2 done

Command: image.jpg repeat 3 smooth 40,0,1,1,2 done

• Example #2

$ gmic image.jpg 100%,100%,1,2 rand[-1] -100,100 repeat 2 smooth[-1] 100,0.2,1,4,4 done warp[0] [-1],1,1

Command: image.jpg 100%,100%,1,2 rand[-1] -100,100 repeat 2 smooth[-1] 100,0.2,1,4,4 done warp[0] [-1],1,1
Command: image.jpg 100%,100%,1,2 rand[-1] -100,100 repeat 2 smooth[-1] 100,0.2,1,4,4 done warp[0] [-1],1,1