Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing ROI Draw Tools for Vision Image Container

For the ROI draw tools that appear on the side of a Vision Image Container, is there anyway to customize the shape and size of the pen?

 

Thanks,

 

Don

0 Kudos
Message 1 of 6
(4,313 Views)

Hello Don,

 

To make cosmetic changes to the Image Display control, I would just creat a custom control off it. You can right-click on the control and choose Advanced >> Customize...  to bring up the custom control front panel. Then, click on the button in the taskbar with a wrench icon to customize the look of items in the control such as shape and size. 

 

Hope this helps.

 

 

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 2 of 6
(4,295 Views)

Hi - I think you are misunderstanding my question.  I use the ROI tools in some cases to draw shapes on the image.  I then use the IMAQ Overlay ROI to overlay the ROI onto the image, and following that, I do an IMAQ Merge Overlay in order to make the ROI an actual part of the image.  So when I draw the original ROI, I might need a thicker or thinner line for the ROI.  I want to be able to control line size. For example, the picture control draw function 'Draw Round Rect.vi' has a pen input cluster, one of whose elements is the size of the line.  I need to be able to do this exact type of thing using the Vision Image.

 

Thanks,

 

Don 

0 Kudos
Message 3 of 6
(4,284 Views)

Hi Don,

 

Sorry about that - I definitley misunderstood your question the first time.There is no way to change the thickness of the ROI contour in the Image Display control. I found a workaround on this discussion forum post: http://forums.ni.com/ni/board/message?board.id=200&message.id=17012&requireLogin=False . I hope that helps.

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 4 of 6
(4,256 Views)

Ok - I finally got the chance to look at this today.  Ultimately, both the Draw and Thickener approach fall short.  The Draw has limited shape options and no pen thickness option.  It would seem to make sense for Vision R&D to just add more customization capability to the ROI tools.   The ROI tool, which has multiple shape draw options that the IMAQ Draw fx does not have by the way, should have further customization capability, which would then make it ideal for merged information into an image.  I will post this suggestion to the IDEAS Exchange area.

 

Thanks,

 

Don
0 Kudos
Message 5 of 6
(4,218 Views)

Hello Don,

 

You could also post this as a product suggestion on the following webpage: http://digital.ni.com/applications/psc.nsf/default?openform . This feedback is taken into account when considering improvements for future releases of our products. Thank you very much. 

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 6 of 6
(4,201 Views)