cancel
Showing results for 
Search instead for 
Did you mean: 

DYNAMIC ROI

Xontrol
Member

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.

10 REPLIES 10
Highlighted
muks
Proven Zealot

Re: DYNAMIC ROI

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.

muks
Proven Zealot

Re: DYNAMIC ROI

Message contains a hyperlink
Xontrol
Member

Re: DYNAMIC ROI

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

RavensFan
Knight of NI

Re: DYNAMIC ROI

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?

 

Xontrol
Member

Re: DYNAMIC ROI

Sorry, there are four numeric control.

RavensFan
Knight of NI

Re: DYNAMIC ROI

So I'll repeat,

 

"What problem are you having?"

Xontrol
Member

Re: DYNAMIC ROI

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

RavensFan
Knight of NI

Re: DYNAMIC ROI

Message contains a hyperlink

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

muks
Proven Zealot

Re: DYNAMIC ROI

Message contains a hyperlink

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.