ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing internal ROI contours interactively

Solved!
Go to solution

Hi guys

 

Let's consider the situation I am drawing a ROI interactively, e.g. in VBAI, IMAQ ConstructROI window or in an image control. I know I can use the Ctrl key to combine (add) multiple ROI contours, generally of different types. Now is it somehow possible to specify an internal contour, i.e. a hole? I know I can do it programmatically, but can I do it interactively?

 

Vladimir


View my profile on LinkedIn
0 Kudos
Message 1 of 9
(4,989 Views)
Solution
Accepted by topic author Vladimir_Drzik

ROIs don't really have an interior/exterior option.  You would have to do it programatically.

 

The only feature I can think of that might help is an annulus, since that has a hole in the center that you would consider interior.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 9
(4,986 Views)

Vladimir -

 

Just to confirm, there's no way to draw internal ROI contours interactively.  If this is something you would find useful, you can submit a product suggestion request at the Product Suggestion Center.

 

Greg Stoll

Vision R&D

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 3 of 9
(4,980 Views)
And of course if you do it programmatically, you can set it to internal, but when you read it back from the ROI property, it is back to external.  I have my fingers crossed that this bug will be fixed in the next version.
Randall Pursley
0 Kudos
Message 4 of 9
(4,972 Views)

Randall -

 

Just as an FYI, this was reported as CAR #157205 and we are hoping to be able to fix it in the next version.

 

Greg Stoll

Vision R&D

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 5 of 9
(4,969 Views)
Thanks for the info
Randall Pursley
0 Kudos
Message 6 of 9
(4,929 Views)
Any chance of getting access to the contours of an ROI?  Even an index of the active countour would be very useful.  Since a contour highlights when you hover over it and you do have the right-click option to delete a contour, it should be doable.
Randall Pursley
0 Kudos
Message 7 of 9
(4,926 Views)

Randall -

 

Do you mean like getting the index through a property node?

 

That's an interesting idea - I'd recommend submitting a suggestion for that.

 

Greg Stoll

Vision R&D

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 8 of 9
(4,922 Views)
I did as you suggested.  I think I have done so before, but I am sure it doesn't hurt to submit it again.
Randall Pursley
0 Kudos
Message 9 of 9
(4,897 Views)