This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

explain

Hi every body

I have a question, Actually I want to read an image and work with it

the sample example that  my device company provided me with it, is :

but I couldn`t underestand the function of 3 function of :

boolean(0,1) , " unasigned Byte Integer" and "rotate"

I really appreciate if anyone could explain me what is the difference between of input image and output image? or why we must this conversion

thanks

Morteza

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

The picture functions put out a 1-Bit pixmap which are either True or False on each pixel.  ? 1:0 converts the array of booleans to an array of 1's or 0's.  The output of that is an array of I16's.

 

The U8 converts that to an array of U8's.  Rotate -1 converts that so that all the original Trues, which then became 1's, are now 128's.  All the original Falses, then became 0's, then stay zero.  So now you have a 2-D array of 128's and 0's.  That could possibly give some color in an 8-bit bitmap.

 

Why was all this done?  Who knows.  What happens after the piece of VI you showed?

Message 2 of 2
(2,025 Views)