G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.3.5        Current pre-release: 3.3.6 (2024/04/12)

Reference

Table of Contents  ▸  List of Commands  ▸  Image Drawing  ▸  graph◀  gaussian    |    grid  ▶

graph

Built-in command

Arguments:

Description:

Draw specified function graph on selected images.

plot_type can be { 0:none | 1:lines | 2:splines | 3:bar }.
vertex_type can be { 0:none | 1:points | 2,3:crosses | 4,5:circles | 6,7:squares }.
pattern is an hexadecimal number starting with 0x which can be omitted
even if a color is specified.

Default values:

plot_type=1, vertex_type=1, 'ymin=ymax=0 (auto)', opacity=1, pattern=(undefined)

and color1=0.

Example of use:

image.jpg +rows 50% blur[-1] 3 split[-1] c div[0] 1.5 graph[0] [1],2,0,0,0,1,255,0,0 graph[0] [2],2,0,0,0,1,0,255,0 graph[0] [3],2,0,0,0,1,0,0,255 keep[0]

Command: image.jpg +rows 50% blur[-1] 3 split[-1] c div[0] 1.5 graph[0] [1],2,0,0,0,1,255,0,0 graph[0] [2],2,0,0,0,1,0,255,0 graph[0] [3],2,0,0,0,1,0,0,255 keep[0]
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

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.