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 tutorial page.
Examples of use:
• Example #1
Command:
image.jpg repeat 3 smooth 40,0,1,1,2 done
• Example #2
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 is an open-source software distributed under the
CeCILL free software licenses (LGPL-like and/or
GPL-compatible).
Copyrights (C) Since July 2008,
David Tschumperlé - GREYC UMR CNRS 6072, Image Team.