LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unabel to processes application with high memory image

Hello every one 

In one of my application i am loading 8mb image into 2d picture control and i am doing some operations on it . 

This is working perfectly but when i am using high memory image like 30mb the performance i.e in terms of speed got slowed down .

 

So how to increase the speed of the application

0 Kudos
Message 1 of 2
(2,235 Views)

Nagaa,

 

When you write "mb" do you mean megabytes?  The typical usage in English is MB. Lower case letters technically would refer to millibits which of course does not make any sense.

 

A 30 MB image, assuming 4 bytes per pixel, is 7.5 megapixels. In a square image it would be >2700 pixels on a side. Unless your picture control is that large - which is larger than most screens - the data has to be reduced to the number of pixels in the control. LabVIEW or the OS or both will do those reductions, but you have no control over how much time it will take.

 

The other thing which can slow processing is creation of extra data copies in your operations.

 

Without seeing your VI, I cannot make specific recommendations. In general:1. Make the image size match the picture control size and 2. Avoid extra data copies.

 

Lynn

0 Kudos
Message 2 of 2
(2,208 Views)