|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Rectangle Comparison.vi Edits?
Hello from 3007!
I am looking at the vision example code, and it says to edit Rectangle Comparison (inside Cull and Group) and Distance VIs to locate vertical stripes, such as those next to the peg. I got my head wrapped around enough of how the Calculate Distance VI works to edit it for vertical stripes, but I'm still baffled by how the particle scoring works. It would be absolutely fantastic if someone could tell me exactly what edits to make to Rectangle Comparison.vi so that it properly scores vertical stripes, but any help would still be greatly appreciated. |
|
#2
|
||||
|
||||
|
Re: Rectangle Comparison.vi Edits?
This is what the default scoring code looks like to me.
|
|
#3
|
||||
|
||||
|
Re: Rectangle Comparison.vi Edits?
I have made some edits myself and gotten a sample target drawn digitally to score near 100, and I have also made edits for distance to work using the edge detection algorithm. I didn't update comments.
|
|
#4
|
||||
|
||||
|
Re: Rectangle Comparison.vi Edits?
Even better.
![]() |
|
#5
|
|||
|
|||
|
Re: Rectangle Comparison.vi Edits?
Hey I just wanted to say thank you for posting what you have learned. I am sure that it will help others that do not have a programming mentor or experience with programming at all.
Tim |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|