LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I covert a 2D-array to a grayscale picture without using IMAQ

I can't find the array to image vi in my labview 7.1(there is only image to array vi)
so I want to covert the array to a grayscale picture without using IMAQ


Another question:my labview 7.1 can only covert the programs to the version of 7.0,but I want to convert it to 6.0.
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 1 of 8
(5,854 Views)
(1) Try "flatten pixmap" (It is in the graphics&Sound...Graphics Format Palette).

(2) To convert to version 6.0 from 7.1, you need to use 7.1 to convert to 7.0, then open it in LabVIEW 7.0 to save as 6.1, then open it in 6.1 and save as 6.0. You need all version in-between.

Alternatively, you can post the VI here and somebody can probably convert it for you. Remember that a lot of functionality has been added since 6.0, so if you use any of the newer functions (e.g. express VIs), it will not be easy to convert to an older version.

Message Edited by altenbach on 05-15-2005 07:49 PM

Message 2 of 8
(5,854 Views)
thank you very much
I have tried to use the flattened pixmap but failed
could you please show me an example about how to convert a 2D-array to an gray picture? thank you
regards
soslotos
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 3 of 8
(5,845 Views)
The attached VI (LabVIEW 7.1) Shows two possibilities using some generated data.
Message 4 of 8
(5,840 Views)
thank you very much
it's really helpful
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 5 of 8
(5,831 Views)

hi dear alten

i want to create color.
that mean:

in your color(that connect to Flattened pixmap) if my one of number in the 2D array is 0 or lower the color in  output picture
is black and for 256 the color is white.
my problem is that i want to have red for 128 and blue for -128 like the image that i attach.

thank you so much for your help.

 

 

0 Kudos
Message 6 of 8
(4,916 Views)

@hamedi wrote:

i want to create color.


Just change the color of the Z scale. You can right-click on any marker and set the color and value.

0 Kudos
Message 7 of 8
(4,911 Views)

thank you altenbach

but i can't understand your purpose.
if it's possible for you explain more, and set a vi for me.

thank you so much.

0 Kudos
Message 8 of 8
(4,895 Views)