From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

rectangular roi manipulation using mouse drag

Hi all,

 

I am obtaining a rectangular ROI using the property node "ROI" of the image.

Now I want to edit/manipulate the same ROI(maybe stretch it or shrink it).

How can I do it?

Regards

 

0 Kudos
Message 1 of 2
(4,120 Views)

Hello,

 

do you want to change the ROI manually or programatically?

 

If you change the ROI manually (which seems to be your question), the change gets updated via the ROI property node also so you can read the new values.

 

If you want to change the ROI programatically, use the ROI property node, but write the new values instead of reading.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 2
(4,108 Views)