G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

Reference

# smooth

Built-in command

## Arguments:

• amplitude[%]>=0,_sharpness>=0,0<=_anisotropy<=1,_alpha[%],_sigma[%],_dl>0,_da>0,_precision>0,_interpolation,_fast_approx={ 0 | 1 }    or
• nb_iterations>=0,_sharpness>=0,_anisotropy,_alpha,_sigma,_dt>0,0    or
• [tensor_field],_amplitude>=0,_dl>0,_da>0,_precision>0,_interpolation,_fast_approx={ 0 | 1 }    or
• [tensor_field],_nb_iters>=0,_dt>0,0

## 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 .

## 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,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,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,1
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing