Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Assistant AI image error

I am trying to process an image approximately 250MB in size and BMP format (acquired using a linescan camera) using NI Vision Assistant AI 2009. I am using 24GB RAM, Xeon Processor PC running 64 Bin Windows 7.

 

The image loads corretly in the application, however I am not able to run any image processing tools on it. On selecting the tool, the image windows is grayed out and the tool controls are also not available.

 

I also tried to generate small area image (running linescan for shorter distance, 150 MB image) but get similar results as mentioned above.

 

Tried using Photoshop to Save As JPEG. But, the JPEG not even loads in the application.

 

I am able to view the image in Photoshop, Windows Image Viewer and other image related applications.

 

Is it related to NI Vision Assistant limitation?

 

 

Ashish Uttarwar
Certified LabVIEW Developer
0 Kudos
Message 1 of 5
(3,748 Views)

Is the image an RGB one? Then try extracting a plane to convert it into a greyscale image

 

In vision assistant click color--> Color plane extraction--> Luminance plane.

 

Also attach the image.

0 Kudos
Message 2 of 5
(3,742 Views)

250MB???? How did you acquire such a huge image?

0 Kudos
Message 3 of 5
(3,735 Views)

Both Vision Assistant and Vision Builder AI (which one are you using?) are both 32-bit applications for now, meaning they don't have access to the entire 24 GB available on your machine.

Both Vision Builder AI 2009 SP1 and Vision Assistant 2009 are unfortunately not Large Address Aware, meaning that on a 64-bit OS they will only have access to 2GB of memory. And out of that, to be able to work properly, they need to be able to allocated 2 or 3 times the size of your image in contiguous memory, which is likely what is failing on your system.

I am passing the information to our managers so we consider the possibility in the future to eventually release 64-bit version of the software.

In the meantime, here are some things you can try.

 

- Vision Assistant 2010 (part of Vision Development Module 2010), that has just released, is still a 32-bit application, but is Large Address Aware, giving you access to 4GB of memory on Windows 7 64-bit. You can download the evaluation and give it a try and see if it can handle it.

 

- The other solution is to work with a much smaller image, that Vision Assistant or VBAI can handle, to prototype your algorithm, and migrate the code to either LabVIEW 2009 64-bit or LabVIEW 2010 64-bit with Vision Development Module 2009 or 2010 that supports 64-bit LabVIEW.

Both these platforms should be able to handle the size of images you're dealing with.

 

Sorry there is no better solution than that at this point.

 

-Christophe

 

0 Kudos
Message 4 of 5
(3,720 Views)

I am using a line scan camera with 8000 pixels. The number of lines acquired is roughly 25000 lines. This makes th eimage size reach about 250 MB.

Ashish Uttarwar
Certified LabVIEW Developer
0 Kudos
Message 5 of 5
(3,702 Views)