Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  boxfilter◀  blur_z    |    bump2normal  ▶

boxfilter

Built-in command

Arguments:

Description:

Blur selected images by a box filter of specified size (fast recursive implementation).

order can be { 0=smooth | 1=1st-derivative | 2=2nd-derivative }.
boundary_conditions can be { 0=dirichlet | 1=neumann }.
When specified, argument axes is a sequence of { x | y | z | c }.
Specifying one axis multiple times apply also the blur multiple times.

Default values:

order=0, boundary_conditions=1 and nb_iter=1.

Examples of use:

• Example #1

$ gmic image.jpg +boxfilter 5%
Command: image.jpg +boxfilter 5%
Command: image.jpg +boxfilter 5%

• Example #2

$ gmic image.jpg +boxfilter y,3,1
Command: image.jpg +boxfilter y,3,1
Command: image.jpg +boxfilter y,3,1