View Single Post
  #2   Spotlight this post!  
Unread 20-01-2012, 20:33
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Can someone explain BinaryImage?

A binary image is the result of an image filter applied to one of many types.

Just like a regular image represents a large array of pixels representing the colors seen by the camera, a binary image is also an array of pixels; however, for the binary image, instead of color, each pixel holds only a single true/false value.

For example, lets say you had a picture, and you ran a filter on it that returned true for all pixels that had a blue value of >150, and false for everything else. The binary image that would be produced would have each pixel be false for those with blue content of less than 150, and vice versa for the others.

The ParticleAnalysisReport object represents the results of an analysis of particles. For binary images, particle analysis involves finding groups of "true" pixels close together, and treating them as observed particles. The methods operating on binary images let you find and analyze particles to your liking.

For this years game, the particle analysis report could provide information on where blackboards, the possibly largest particles found due to the retroreflective tape, if the filter providing the binary image is tuned, are.
__________________
Attending: MN Duluth Regional

Last edited by theprgramerdude : 20-01-2012 at 20:36.
Reply With Quote