National Instruments NI-IMAQ 用户手册
Chapter 4
Programming with NI-IMAQ for 1394 VIs
4-10
ni.com
Your intensity graph now should appear similar to the image shown in
Figure 4-9. For more information on the Intensity Graph, consult your
LabVIEW documentation
Figure 4-9. For more information on the Intensity Graph, consult your
LabVIEW documentation
Figure 4-9. Intensity Graph for Image Display
Use the IMAQ ImageToArray VI to copy an image from an image buffer
into a LabVIEW array. Then you can wire this array directly to an Intensity
Graph for display. Figure 4-10 illustrates using an Intensity Graph to
display an image acquired using IMAQ1394 Snap.
into a LabVIEW array. Then you can wire this array directly to an Intensity
Graph for display. Figure 4-10 illustrates using an Intensity Graph to
display an image acquired using IMAQ1394 Snap.
Figure 4-10. Displaying an Image Using an Intensity Graph
To display an RGB image on a picture control, place the picture control on
the front panel of your VI. Use the IMAQ ColorImageToArray VI to copy
an image from an image buffer into a LabVIEW array. Then you can wire
this array to the Draw True-Color Pixmap VI. Wire the new image output
from Draw True-Color Pixmap to the picture control indicator. For more
information on the picture control, consult the LabVIEW online reference.
Figure 4-11 illustrates using a picture control to display an RGB image
acquired with the IMAQ1394 Snap VI.
the front panel of your VI. Use the IMAQ ColorImageToArray VI to copy
an image from an image buffer into a LabVIEW array. Then you can wire
this array to the Draw True-Color Pixmap VI. Wire the new image output
from Draw True-Color Pixmap to the picture control indicator. For more
information on the picture control, consult the LabVIEW online reference.
Figure 4-11 illustrates using a picture control to display an RGB image
acquired with the IMAQ1394 Snap VI.