07-01-2010 10:24 AM
Hello friends. I want to know how I can indicate the location (coordinates) covering a rectangular ROI. I use numerical controls to define the upper-left and bottom right of the ROI.
I hope I can help.
Thank you.
07-02-2010 04:35 AM
You willhave to give more details. For defining a roi you will need some reference. For example if you are using a pattern matching vi the result will be in a cluster and you can unbundle it and define the rectangle roi. In particle analysis you can define the input as left,top,right,bottom and get the output in array.
07-02-2010 05:37 AM
07-02-2010 06:14 PM
Thanks for responding.
I wanted to do the following: with four numerical checks indicate the locations A1 (X0, Y0) and A2 (X1, Y1) with these coordinates to create a rectangular ROI, these coordinates being the upper left corner and lower right corner.
Thank you
07-02-2010 11:43 PM
What are the "four numerical checks"?
What problem are your having? Is it a situation where you don't know how to build a cluster?
07-03-2010 10:51 AM
Sorry, there are four numeric control.
07-03-2010 11:19 AM
So I'll repeat,
"What problem are you having?"
07-03-2010 11:31 AM
The problem is that I have no idea how to properly link these four control inputs numeric array type of ROI.
07-03-2010 12:25 PM
Look at Bundle, Bundle by Name for Clusters. Also Build Array.
If you have the VI you are wiring into, right click on the connector of that subVI on the block diagram and pick either Create Control, or Create Constant.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
07-04-2010 10:59 PM
For defining a rectangle you require top,left and right,bottom. If you mean the numeric controls corresponds to these then just build an array.