loading
 
Calculating distance between two blob COGs
Keith Armstrong from United States  [3 posts]
9 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] 9 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.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index