Go to Post Next year they should make Roombas the game piece. They're not very effective at vacuuming the rug that's for sure. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2013, 18:32
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
2013 LabVIEW Vision Example

We're starting to dig into the 2013 LabVIEW vision example, and my team members had some questions that I'm sure others will have.

Some values on the front panel are not self explanatory, and digging into the code further doesn't exactly reveal what they are meant to do.

Specifically:

1. What does the Area Size Limit % represent?

2. In the score limits, what do "Center" and "Outer" represent?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2013, 19:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 2013 LabVIEW Vision Example

Good questions. Once the image is thresholded, the result is a binary image that consists of background values and blobs or particles of foreground values.

When processing particles, the Area size limit is used to eliminate all particles smaller than the limit. The units are in % of camera view area. Using a percentage allows it to be independent of camera resolution.

The Center and Outer are terms that refer to the 3 point and 2 point targets. The targets have different aspect ratios, and the numbers are also used to classify whether a given particle is believed to be Center or Outer.

Let me know if this is enough info.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2013, 21:36
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 2013 LabVIEW Vision Example

Thanks Greg, that's great info.

We did some cad work today and realized that from most shooting positions near the pyramid, the standard-issue axis camera with a 47 degree viewing angle will not be able to see all 3 targets at once. So we can use Area size Limit to potentially exclude a partial side target that will have an incorrect center point.

I assume the vision example will also pick up the vertical stripes and treat them as rectangles. Is that correct?
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2013, 21:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 2013 LabVIEW Vision Example

This is one of the reasons for the aspect and hollow tests. It will score well as a rectangular blob, but very poorly on aspect and very poorly on hollow.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2013, 08:32
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 2013 LabVIEW Vision Example

Ah, I see. So tightening the aspect ratio will exclude the side targets, but not the top target or the vertical stripes (which both have fairly high aspect ratios).

Very very nice. This does nearly everything teams need right out of the box.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi