LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DYNAMIC ROI

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.

0 Kudos
Message 1 of 11
(3,760 Views)

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.

0 Kudos
Message 2 of 11
(3,752 Views)
0 Kudos
Message 3 of 11
(3,745 Views)

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

0 Kudos
Message 4 of 11
(3,735 Views)

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?

 

0 Kudos
Message 5 of 11
(3,714 Views)

Sorry, there are four numeric control.

0 Kudos
Message 6 of 11
(3,705 Views)

So I'll repeat,

 

"What problem are you having?"

0 Kudos
Message 7 of 11
(3,699 Views)

The problem is that I have no idea how to properly link these four control inputs numeric array type of ROI.

0 Kudos
Message 8 of 11
(3,694 Views)

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

0 Kudos
Message 9 of 11
(3,688 Views)

Did you check this?

 

 

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.

0 Kudos
Message 10 of 11
(3,671 Views)