View Single Post
  #2   Spotlight this post!  
Unread 05-02-2011, 12:02
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: Converting 32-bit image to 8-bit OR binary

NIVision contains functions to extract a color plane and to threshold. Those are the two most common ways to take a color image and ready it for monochrome processing.

If you are wanting to identify colored objects in the image, look at using the color threshold as the first step of processing, either in your vision assistant code or in the code between the camera and the assistant code.

Sometimes, you will instead extract the lunimance or saturation plane.

Greg McKaskle