View Single Post
  #2   Spotlight this post!  
Unread 28-01-2015, 20:26
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,751
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: Get camera image into processing VI

What you've attached is a simple subVI that wraps the color threshold function with constants of RGB and 1 for the replacement pixel value and parameters for the image and colors.

It looks like it will work just fine after the Image Get in the Vision Processing loop.

You may however want to test well with different lighting conditions that are likely to happen on the field or demo. For those reasons, we will generally use HSL or HSV colors instead of RGB. RGB is faster, but the bigger the range in any parameter, the bigger the difference between the two color spaces.

Greg McKaskle