edgels
Arguments:
- x0,y0,_n0,_is_high_connectivity={ 0 | 1 }
Description:
Extract one or several lists of edgels (and their normals) that defines a 2D binary silhouette.
When specified (i.e.
!=-1), arguments
x0,y0,n0 are the coordinates of the starting edgel, which must be located on an edge of the binary silhouette.
If x0,y0 and n0 are specified, only a single list of edgels is returned.
If only x0,y0 are specified (meaning n0=-1), up to 4 lists of edgels can be returned, all starting from the same point (x0,y0).
If no arguments are specified (meaning x0=y0=n0=-1), all possible lists of edgels are returned.
A list of edgels is returned as an image with 3 channels
[x,y,n] where
x and
y are the 2D coordinates of the edgel pixel, and
n is the orientation of its associated canonical normal (which can be
{ 0:[1,0] | 1:[0,1] | 2:[-1,0] | 3:[0,-1] }.
Default values:
x0=y0=n0=-1 and is_high_connectivity=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.