Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I convert Bitmap images to VisionImages using VB.net?

How do I convert from System.Drawing.Bitmap to VisionImage using VB.net?

 

NI Vision 2012 (version 12.x)

VB 2008

 

Thanks!

0 Kudos
Message 1 of 4
(4,551 Views)

Hello Steverino, 

 

You may find the following discussion forum post to be helpful with this request:

 

http://forums.ni.com/t5/Machine-Vision/Converting-VisionImage-to-System-Drawing-Bitmap-Image-in-NET-...

Huntington W
National Instruments
Applications Engineer

***Don't forget to give Kudos and Accepted as Solution where it is deserved***
0 Kudos
Message 2 of 4
(4,525 Views)

Yes, I did consider that example.

 

However, if you have any say in the matter, please request the Vision team to build a native function that converts VisionImage to bitmap and bitmap to VisionImage. There are many imaging libraries that create bitmaps. Having the ability to interface with these libraries would greatly extend the capabilities of IMAQ Vision.

 

Thanks!

0 Kudos
Message 3 of 4
(4,510 Views)

Steverino, 

 

Thank you for the suggestion. Our customers do have a say in these matters and you can relay this suggestion by posting this on the NI Idea Exchange forum. R/D routinely uses this forum in order to identify where the demand is for particular features or revisions. 

Huntington W
National Instruments
Applications Engineer

***Don't forget to give Kudos and Accepted as Solution where it is deserved***
0 Kudos
Message 4 of 4
(4,485 Views)