O'Reilly logo

Practical Guide to Machine Vision Software: An Introduction with LabVIEW by Steven Ready, Kye-Si Kwon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15Saving and Reading Images

15.1 Saving Image

You can save images using IMAQ Write File as seen in Figure 15.1, which is found from the function palette in Vision and Motion»Vision Utilities»Files.

img

Figure 15.1 IMAQ Write File.

As seen in Figure 15.2, various kinds of image formats such as BMP, JPEG, PNG, and TIFF can be selected to save image file using the IMAQ Write File function.

img

Figure 15.2 Image selection.

The available types of images are summarized in Table 15.1.

Table 15.1 Image type.

BMP (BitMaP image) JPEG (Joint Photographic Coding Experts Group) PNG (Portable Network Graphics) TIFF (Tagged Image File Format)
Image from camera is bitmap image, which has the image values on each pixel location. The bitmap image is not compressed JPEG is one of the image compressing methods. The color image can be effectively compressed by using JPEG. Here, the quality and the size of the image can be adjusted PNG has been widely used in the Web to realize bitmap image The data information of image was saved in the form of Tag in front of the image. From this, image type can be recognized

When using IMAQ Write File, you can specify the Compression Ratio or Image Quality, as seen in Figure 15.3 (IMAQ Write file for JPEG) and Figure 15.4 (IMAQ Write file for JPEG2000).

Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required