|
Calculating distance between two blob COGs Keith Armstrong from United States [3 posts] |
10 year
|
I am trying to measure distance [in pixels is fine] between two blobs. I can see that there is a COG_X(0) and COG_X(1) in the detailed geometric statistics, but only see the general COG_X array name in the displayable variables. Is there a way to mathematically reference the individual elements of the COG_X, COG_Y arrays and then display the difference on the screen?
|
|
|
Steven Gentner from United States [1446 posts] |
10 year
|
Yes, in most modules you can use
COG_X:0
COG_X:1
COG_X:2
etc.
to reference array elements where normally one would just put a single variable.
STeven.
|
|