|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Image Tracking
I'm not sure how to use this, I turned it into a VI, how do I use the data it gives me? It just comes out as the edited picture.
|
|
#2
|
||||
|
||||
|
Re: Image Tracking
When you're creating the VI, you must select the inputs and outputs you want.
![]() The result is the uploaded "find bounds of squares.vi". In this case, it also requires some further modification to see what data you have. The order of elements in the "particle analysis" is in the order you request the data. The modified VI is the uploaded "find bounds of squares 2.vi" If you want to find the center of these squares, just average the left and right bounds, and the top and bottom bounds. |
|
#3
|
||||
|
||||
|
Re: Image Tracking
Marshal, I'm more interested in the WHY of what you did rather than the "how". What operations should we choose to minimize processor overhead? Why use the saturation plane? Why not the intensity, or hue, or one of the others? Why did you threshold and use particle analysis instead of using a tool like the find circle or find ellipse?
Where can I find something that describes the "whys" of using vision with labview? |
|
#4
|
|||
|
|||
|
Re: Image Tracking
Your best bet is to look through the Vision Concepts manual. It is in NI/documentation in the Start menu. Also, there are lots of vision examples to look through and instrument for performance comparison.
Greg McKaskle |
|
#5
|
||||
|
||||
|
Re: Image Tracking
I chose the saturation plane because it provided even shading for all three squares. The intensity plane had each square at a different darkness (and actually varied at the edges of the squares), and the hue plane would not apply (all three squares are wildly different hues, and the hue of white is unpredictable).
If I was looking specifically for circles, I would use the circle finder. In this case it's a very clean image, and so analyzing all the particles (without even an erode and dilate) will produce excellent results. If it had been a real image, I probably would do some more processing to get a clean result. Last edited by kamocat : 11-01-2011 at 12:56. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|