![]() |
Can someone explain BinaryImage?
I've been looking at a lot of threads having to do with tracking the hoops, and most of them involve converting the camera's image to a BinaryImage type. What exactly is this? Does it make all bright colors trues and all dark colors false? Also, can someone please explain what a ParticleAnalysisReport object does? That seems to be what the majority of the methods for BinaryImage return. I've read through this, but I can't understand everything for the above reasons.
Thank you for any help! |
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. |
Re: Can someone explain BinaryImage?
Thank you so much. That cleared things up a lot and I understand the basics of it now. Do you know of anywhere I could go to see an example of this? I couldn't find sample code in Netbeans.
|
Re: Can someone explain BinaryImage?
Sample code just for Labview, I believe. There is an example for last year that will show you, but I do not know where it is.
|
I'm posting an update later today that includes additional vision operations in Java along with a sample program, and sample images that demonstrates finding 2012 targets. You can use it as a starting point.
Brad |
Re: Can someone explain BinaryImage?
Thanks, I'll be sure to read it as soon as you put it up.
|
Re: Can someone explain BinaryImage?
Quote:
|
Re: Can someone explain BinaryImage?
Look for the camera test project under samples.
Brad |
| All times are GMT -5. The time now is 22:21. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi