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.
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.
10-06-2017 10:08 AM
Hello all!
I am a newbie to this community and recently started to develop a small tool. The aim is to draw multiple regions of interest (say lines) in an image and manually classify them into different categories (e.g. A, B, C etc.) based on my own criteria. Next, the co-ordinates of these ROIs and their class labels should be exported to a spreadsheet. Although I could get to draw multiple ROIs using a for loop and save the co-ordinates to a file, I am struggling to find ways to assign the class labels. I eventually came to know that 'Overlay' options are well suited for this. I encountered two things in this regard:
1. When I use text or line overlay options, I cannot place these into the for loop in which I am able to draw lines and save their co-ordinates. Because the overlay image output could not be connected to the image in display as the source and sink types are different.
2. I could use the text overlay option outside the for loop which gives a text overlay only on the first line. Moreover, I want to have a custom label for the text overlay, which I could not find again.
Did anyone work on such task before or had similar experiences? Any hints to resolve this are much appreciated.
Many thanks in advance!
Thanks a lot!
Vishal
10-25-2017 07:31 AM
Can you post the code you created?
Are you using NI Vision Development Module?
What version of LV are you using?
11-09-2017 11:53 AM
Hi Norbert,
Thanks a lot for the response. I am using LabVIEW 2015 (v. 15.0f2; 64bit) along with the vision development module.
I don't know if there is code behind but all I could see is the block diagram behind my front panel. I attached them below for your reference. I hope they would help you identify anything wrong that I am doing.
Best,
Vishal
04-18-2018 02:34 AM
Hallo Vishal,
thank you for the screenshots. To identify the reason of the issue it would be helpful, if you post your VIs.
I see, that you are using lines as ROIs. Is there some special reason for it?
Best wishes,
Alyona