|
Sampled edges missing last y coordinate Anonymous |
18 year
|
Hi, STeven
I think the "SAMPLED_EDGES - an x,y array of the location of the detected edges." is missing the last y coordinate. I always get odd number in the array. Could you please look into that?
Thanks
Calvenn
|
|
|
Anonymous |
18 year
|
Calvenn,
It will always be an odd number when using ubound as the VB arrays start from 0.
Thus,
arr = GetArrayVariable("SAMPLED_EDGES")
for i = 0 to ubound(arr) step 2
write arr(i) & ":" & arr(i+1) & vbCRLF
next
should write out the entire array contents even when ubound(arr) is an odd number. (the extents are inclusive)
STeven.
|
|