loading
 
ANGLE array
mehdi from Iran  [32 posts]
8 years
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 8 years
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] 8 years
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] 8 years
.robo file!
i forgot it!
:D
mehdi from Iran  [32 posts] 8 years
.robo
program.robo
mehdi from Iran  [32 posts] 8 years
sorry!
i checked the new version of RR!
the angle array problem is solved!
thanks 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