|
ANGLE array mehdi from Iran [32 posts] |
15 year
|
hi!
i have a problem in accessing 'ANGLE' array!
i have 5 triangles in my image and i want to extract their angle.
when i want to acces 'ANGLE' array,it close the RR!
hanggggggg!!!!!
help me plz!!!
program.robo
|
|
|
Anonymous |
15 year
|
mehdi,
There was a problem with the array handling in the VBScript module that has now been fixed in v2.0.8.1.
However, there was also an error in your robofile that assumed the image was binary. This is not the case. Although it looks binary the fact that it is JPG and not GIF or PNG which are lossless compression modes, JPG introduces slightly darker or lighter pixels. That's why you've been detecting 1000's of blobs instead of 5. A quick threshold routine clears that up and nicely picks up all 5 triangles with all the appropriate coordinates. Download the most recent copy of RR and try the robofile below on your image.
STeven. program.robo
|
|
|
mehdi from Iran [32 posts] |
15 year
|
thanks steven for your answer!
i think there is a problem!
see this .robo file,reload the vbscript,u will see that it hangs!
|
|
|
mehdi from Iran [32 posts] |
15 year
|
.robo file!
i forgot it!
:D
|
|
|
mehdi from Iran [32 posts] |
15 year
|
|
|
mehdi from Iran [32 posts] |
15 year
|
sorry!
i checked the new version of RR!
the angle array problem is solved!
thanks steven! ;)
|
|