This command internally computes 2D direction or 2D orientation fields of the selected images and produces a color representation of the fields.
The command has the following format:
-gradient2rgb: _is_orientation={ 0 | 1 }
Frequently, one creates a 2D direction or orientation field and then produce a color representation via -direction2rgb. This command consolidates this common idiom into one command.
This command is a handy source of blurring maps which trace contours for the G'MIC-Gimp Blur by Color filter.