Reference

Table of Contents  ▸  List of Commands  ▸  Features Extraction  ▸  delaunay◀  barycenter    |    detect_skin  ▶

delaunay

Arguments:

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

$ gmic 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

$ gmic 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