National Instruments NI-IMAQ User Manual

Page 35

Advertising
background image

Chapter 4

Programming with NI-IMAQ for 1394 VIs

© National Instruments Corporation

4-9

NI-IMAQ for IEEE-1394 Cameras User Manual

an image acquired using IMAQ1394 Snap. You can display images in the
same way using any acquisition type. For more information on the display
capabilities of IMAQ Vision, consult the IMAQ Vision for LabVIEW
User Manual
.

Figure 4-8. Displaying an Image Using IMAQ WindDraw

If you do not have IMAQ Vision, you can display an image on a
LabVIEW Intensity Graph for 8-bit and 16-bit monochrome images or on
a picture control for RGB images.

Before you can properly display an image on an Intensity Graph, you need
to make some minor changes to the default properties of the Intensity
Graph. Perform the following steps to modify the properties:

1.

Place the Intensity Graph on the front panel, pop up on the graph, and
choose Transpose Array.

2.

Create the correct grayscale color palette by popping up on the marker
labeled

50

on the color ramp and choosing Delete Marker. Also,

change the maximum value on the color palette from 100 to the
maximum pixel value in your image—255 for 8-bit images, 1,023 for
10-bit images, and 4,095 for 12-bit images.

3.

Invert the y-axis. You might also need to change the ranges of the
x- and y-axes to match the width and height of the image.

Advertising