Arguments:
- [palette],_boundary_conditions or
- palette_name,_boundary_conditions
Description:
Map specified vector-valued palette to selected indexed images.
Each output image has
M*N channels, where
M and
N are the numbers of channels of, respectively, the corresponding input image and the
palette image.
palette_name can be
{ default | hsv | lines | hot | cool | jet | flag | cube | rainbow | algae | amp | balance | curl | deep | delta | dense | diff | gray | haline | ice | matter | oxy | phase | rain | solar | speed | tarn | tempo | thermal | topo | turbid | aurora | hocuspocus | srb2 | uzebox }
boundary_conditions can be
{ 0:dirichlet | 1:neumann | 2:periodic | 3:mirror }.
Default values:
boundary_conditions=0.
This command has a tutorial page.
Examples of use:
• Example #1
• Example #2
image.jpg +rgb2ycbcr split[-1] c (0,255,0) resize[-1] 256,1,1,1,3 map[-4] [-1] remove[-1] append[-3--1] c ycbcr2rgb[-1]
Command:
image.jpg +rgb2ycbcr split[-1] c (0,255,0) resize[-1] 256,1,1,1,3 map[-4] [-1] remove[-1] append[-3--1] c ycbcr2rgb[-1]
Command:
image.jpg +rgb2ycbcr split[-1] c (0,255,0) resize[-1] 256,1,1,1,3 map[-4] [-1] remove[-1] append[-3--1] c ycbcr2rgb[-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.