Hi,
I try to understand the barycenter command. The GMIC’s technical reference give the following example :
256,256 ellipse 50%,50%,20%,20%,0,1,1 deform 20 +barycenter +ellipse[-2] {@0,1},5,5,0,10
I see that {@0,1} gives the coordinates of the barycenter, ok, so far so good !
But I’m unable to understand why, I’ve read the doc but I can’t find anything about the {@0,1} syntax or more generally how to deal the output of the barycenter command.
For example the ouput of gmic 256,256 ellipse 50%,50%,20%,20%,0,1,1 deform 20 +barycenter is (partial output) :
[1] = ‘[barycenter of ‘[unnamed]’~]’:
size = (1,3,1,1) [12 b of floats].
data = (127.528;133.519;0).
min = 0, max = 133.519, mean = 87.0156, std = 75.4172, coords_min = (0,2,0,0), coords_max = (0,1,0,0).
How can I manipulate this data ?
Vince