delaunay
Arguments:
- _output_type={ 0:image | 1:coordinates/triangles }
Description:
Generate discrete 2D Delaunay triangulation of non-zero pixels in selected images.
Input images must be scalar.
Each pixel of the output image is a triplet (a,b,c) meaning the pixel belongs to
the Delaunay triangle
ABC where
a,
b,
c are the labels of the pixels
A,
B,
C.
Examples of use:
• Example #1
400,400 rand 32,255 100%,100% noise. 0.4,2 eq. 1 mul +delaunay

Command: 400,400 rand 32,255 100%,100% noise. 0.4,2 eq. 1 mul +delaunay

Command: 400,400 rand 32,255 100%,100% noise. 0.4,2 eq. 1 mul +delaunay
• Example #2
image.jpg 100%,100% noise. 2,2 eq. 1 delaunay. +blend shapeaverage0

Command:
image.jpg 100%,100% noise. 2,2 eq. 1 delaunay. +blend shapeaverage0

Command:
image.jpg 100%,100% noise. 2,2 eq. 1 delaunay. +blend shapeaverage0

Command:
image.jpg 100%,100% noise. 2,2 eq. 1 delaunay. +blend shapeaverage0
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.