View Single Post
  #5   Spotlight this post!  
Unread 09-02-2012, 20:11
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: Rectangle Processing code giving strange error

In the attached code, it looks like the Color Enable is being set to FALSE each loop iteration. That requests that the camera return a monochrome image, and the JPEG decoder will return a monochrome 8 bit image. That starts the error chain because the color threshold requires a color image.

Change the enable constant to True and see if that helps.

Greg McKaskle
Reply With Quote