Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

C# support

Hi loon,

 

What is the image type from your camera? The default image type for most of the IMAQ functions is grayscale U8.

0 Kudos
Message 11 of 13
(1,734 Views)
Hi,
  Sorry about that cos, i'm new on NI sdk. can you provide me some sample about, how to convert image type to grayscale U8? FYI, i'm using gigE camera. 
0 Kudos
Message 12 of 13
(1,714 Views)

Hi loon,

 

You can change the image type of image labelled z with the line:

z.Type = CWIMAQImageTypes.cwimaqImageTypeU8

 

What is the image type of the data are you acquiring from your GigE camera?

0 Kudos
Message 13 of 13
(1,680 Views)