View Single Post
  #7   Spotlight this post!  
Unread 05-02-2013, 22:49
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: White Ring Light

How i went about solving this problem is first converting the image to gray scale, so HSV has no importance. With OpenCV, the computer vision library I use, the part involving HSV can add to processing time, which is unfortunate for our frisbee tracker. When it is converted to gray scale, you can apply a threshold, and it will be a 1 channel deep threshold since gray scale is a 1 channel array, unlike hsv or rbg (which has 3 channels of arrays). You are correct in saying that the square will have a high value, but it will also have a high pixel value in gray scale, and would reduce the amount of memory needed since hue and saturation will not be needed. This process is also the same with using IR, and any other colour, just a matter of thresholding. Best of luck from team 1706.
Reply With Quote