09-14-2017 09:23 AM
I am new to Labview module. I am working on vehicle detection on road presently i have completed threshold operation now I need to draw a ROI across the Vehicles. Please help me with some ideas or tools to draw the ROI
Solved! Go to Solution.
09-14-2017 09:57 AM
09-14-2017 11:06 AM
@Ranger94 wrote:
I need to draw a ROI across the Vehicles.
The answer depends on what you use to "draw" or represent the vehicles on he front panel. (e.g. picture, dots on an xy graph, levels on an intensity graph, etc.). Can you tell us more?
09-14-2017 01:18 PM
@Ranger94 wrote:
I am new to Labview module. I am working on vehicle detection on road presently i have completed threshold operation now I need to draw a ROI across the Vehicles. Please help me with some ideas or tools to draw the ROI
I hope your first sentence was really meant to be "I'm new to the LabVIEW Vision module", implying that you are not new to LabVIEW, itself. LabVIEW Vision is (compared to many other parts of LabVIEW) somewhat under-documented, handles data in "unusual" ways, and is one of the more challenging modules that I have encountered.
Regarding the ROI -- are you planning to look at an image and draw the ROI yourself, using a mouse? Are you planning to have LabVIEW analyze the image and decide (for itself) where to put an ROI programmatically? You can, of course, do both of these things, but the "how to" is a little different ...
It might also be helpful to see some of your code to (a) get a better idea of what you are trying to do, and (b) get an idea of your "comfort" with LabVIEW Vision.
Bob Schor
09-15-2017 12:04 AM
Sir, I want LabVIEW to analyze the image and decide (for itself) where to put an ROI programmatically.
And pardon me for the mistakes I shall try to be more accurate with my questions from next time.
09-15-2017 12:07 AM
LabVIEW analyze the image and decide (for itself) where to put an ROI programmatically and draw an rectangular ROI across the objects in the foreground.
09-15-2017 02:46 AM - edited 09-15-2017 02:48 AM
What is the exact problem? We can't help you detect cars automatically, that is way to broad. So I'll assume you get ROI's from your routine and want to draw them (the title or the thread).
Have you've read this: Region Of Interest Frequently Asked Questions (FAQ)?
Or this: NIVision for LabVIEW User Manual?
09-15-2017 02:52 AM
sir, I am attaching two image files
1. grey scale image
2.After thresholding(best i can come up with)
My problem is i want to reflect a Rectangular ROI across my grey scale image after gathering useful data from the thresholded image
09-15-2017 04:23 AM
To find\label objects look at IMAQ Count Object (Machine Vision»Count and Measure Objects).
09-15-2017 08:38 AM
Ranger94,
I asked if you wanted to (interactively) draw the ROI, or have LabVIEW programmatically do so according to some (as yet unspecified) criteria. As best as I can understand, you said "Yes" to both, but failed to elaborate what you really meant. Weibe provided some useful references, including how to draw your own ROI, but your followup Post suggested you haven't read it, or at least you didn't respond to it.
Have you considered trying to hire a LabVIEW Developer with expertise in using NI Vision? This is one of the more "challenging" LabVIEW Modules, particularly without a colleague or LabVIEW Guru to provide help and encouragement as you try to get a handle on some of the key Concepts (like the idea of an "Image").
Bob Schor