09-01-2014 02:10 AM
Hi Klemen,
Sorrily, if there is no direct option or property for this I am afraid there is no simple method to achieve this. As you said in a previous post here, you can do the trick by creating an overlay bitmap, but it would certainly require much more work that just using a rectangle with the highlight option.
Kind regards,
Izabela
09-01-2014 03:10 AM
Thank you!
Best regards,
K
07-26-2016 11:38 AM
How about overlaying multiple rectangles into the shape of an oval? I know that is tedious but perhaps it would work...
I am attaching an example (LV2012) that highlights any given ROI you draw on a loaded image. It is not the most efficient algorithm but it gets the job done. I just simply create a Mask from the ROI and then overlay rectangles on the mask pixels. If your process is time-sensitive, you will want to keep an eye on the processing time this takes. Depending on the shape you can make the algorithm much more efficient than pixel-by-pixel overlays. For the large red shape, it took 280ms to draw pixel-by-pixel on my laptop... so clearly not efficient on time.
07-26-2016 11:41 AM
And here is a screenshot of the block diagram for a pixel-by-pixel method: