LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

converting 1d array to image

I hope the txt I received was saved just so I could get the data. Because it take some time to read it, and if speed is an issue ;). But anyway the conversion is simple and quick.

Good luck 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 11 of 25
(1,765 Views)

Thanks the help ,, your support has been of tremendous help.....

But the image obtained is still monochrome ....am not able to get the color picture...

 

 

regards

Rahul

0 Kudos
Message 12 of 25
(1,721 Views)
The image is gray because I used a grayscale color table. Change the colortable and you will se colors


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 13 of 25
(1,714 Views)

I am not able to use the color tables to create the original color of the image and how do i get the color table of my picture..

pls reply

0 Kudos
Message 14 of 25
(1,702 Views)

The Reshape array function of converting 1d array pixel information (1228800 elements) to 2d is working fine ,but the conversion time is 350ms while the desired value is around 30ms . so suuggest a way to reduce the conversion time.

pls reply

0 Kudos
Message 15 of 25
(1,670 Views)

I do not think it is the "Reshape array" function is the problem. On my computer I run this 100 times and it took 250 ms. If I skipped the indicator it took 98ms. Try to remove all indicators not strictly needed it may help.

 

Message Edited by Coq rouge on 05-05-2009 02:39 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 16 of 25
(1,659 Views)

I am grabbing the image parallely on an activex controller,, Could that be a problem??

there are no other indicators..

Message Edited by siju on 05-05-2009 08:05 AM
0 Kudos
Message 17 of 25
(1,652 Views)
Oh yes, and certainly if your image indicator is full scale(1280*960).
Message Edited by Coq rouge on 05-05-2009 03:21 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 18 of 25
(1,645 Views)
Anyways, Could u suggest an alternative?
0 Kudos
Message 19 of 25
(1,636 Views)

siju wrote:
Anyways, Could u suggest an alternative?

 

Sorry I do not have any clue, and besides I have never used VISION. But you could perhaps start new thread and ask for code optimazion help in your project


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 20 of 25
(1,628 Views)