Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  solve_poisson◀  split_freq    |    split_details  ▶

solve_poisson

Arguments:

Description:

Solve Poisson equation so that applying laplacian[n] is close to the result of laplacian_command[n].

Solving is performed using a multi-scale gradient descent algorithm.
If nb_scales=0, the number of scales is automatically determined.

Default values:

nb_iterations=60, dt=5 and nb_scales=0.

Example of use:

$ gmic image.jpg command "foo : gradient x" +solve_poisson foo +foo[0] +laplacian[1]
Command: image.jpg command "foo : gradient x" +solve_poisson foo +foo[0] +laplacian[1]
Command: image.jpg command "foo : gradient x" +solve_poisson foo +foo[0] +laplacian[1]
Command: image.jpg command "foo : gradient x" +solve_poisson foo +foo[0] +laplacian[1]
Command: image.jpg command "foo : gradient x" +solve_poisson foo +foo[0] +laplacian[1]