Reference

Table of Contents  ▸  List of Commands  ▸  Colors  ▸  transfer_rgb◀  transfer_pca    |    xyz2jzazbz  ▶

transfer_rgb

Arguments:

Description:

Transfer colors from selected source images to selected reference image (given as argument).

gamma determines the importance of color occurrences in the matching process (0=none to 1=huge).
regularization determines the number of guided filter iterations to remove quantization effects.
luminosity_constraints tells if luminosity constraints must be applied on non-confident matched colors.
is_constraints tells if additional hard color constraints must be set (opens an interactive window).

Default values:

gamma=0.3,regularization=8, luminosity_constraints=0.1, rgb_resolution=64 and is_constraints=0.

Example of use:

$ gmic sample pencils,wall +transfer_rgb[0] [1],0,0.01

Command: sample pencils,wall +transfer_rgb[0] [1],0,0.01
Command: sample pencils,wall +transfer_rgb[0] [1],0,0.01
Command: sample pencils,wall +transfer_rgb[0] [1],0,0.01