[ Team LiB ]
•
•
Image Processing with LabVIEW™ and IMAQ™ Vision
Table of Contents
Examples
By Thomas Klinger
Publisher: Prentice Hall PTR
Pub Date: June 11, 2003
ISBN: 0-13-047415-0
Pages: 368
This book brings together everything you need to achieve superior results with PC-based image
processing and analysis. Expert Thomas Klinger combines a highly accessible overview of the
field's key concepts, tools, and techniques; the first expert introduction to NI's breakthrough
IMAQ Vision software; and several start-to-finish application case studies. You also get an
extensive library of code and image samples, as well as a complete trial version of IMAQ Vision
for Windows. Coverage includes:
Defining what to measure and how to measure it
Acquiring images: working with CCDs, cameras, frame grabber cards, and leading medical
image sources, including ultrasound, CT, and MRI
Distributing images: compression techniques, image format standards, and DICOM
medical imaging
Processing images: gray-scale operations, spatial image filtering, frequency filtering,and
morphology functions
Analyzing images: pixel value and quantitative analyses, shape and pattern matching, bar
codes, and more
With 300+ figures and 50+ exercises-all listed up front for easy access-this is the definitive
image processing tutorial for every professional.
[ Team LiB ]
[ Team LiB ]
•
•
Image Processing with LabVIEW™ and IMAQ™ Vision
Table of Contents
Examples
By Thomas Klinger
Publisher: Prentice Hall PTR
Pub Date: June 11, 2003
ISBN: 0-13-047415-0
Pages: 368
Copyright
Virtual Instrumentation Series
About Prentice Hall Professional Technical Reference
List of Figures
List of Tables
List of Exercises
Preface
Acknowledgements
Disclaimer
Warning Regarding Medical and Clinical Use of National Instruments Products
Chapter 1. Introduction and Definitions
Introduction
Some Definitions
Introduction to IMAQ Vision Builder
NI Vision Builder for Automated Inspection
Chapter 2. Image Acquisition
Charge-Coupled Devices
Line-Scan Cameras
CMOS Image Sensors
Video Standards
Color Images
Other Image Sources
Chapter 3. Image Distribution
Frame Grabbing
Camera Interfaces and Protocols
Compression Techniques
Image Standards
Digital Imaging and Communication in Medicine (DICOM)
Chapter 4. Image Processing
Gray-Scale Operations
Spatial Image Filtering
Frequency Filtering
Morphology Functions
Chapter 5. Image Analysis
Pixel Value Analysis
Quantitative Analysis
Shape Matching
Pattern Matching
Reading Instrument Displays
Character Recognition
Image Focus Quality
Application Examples
Bibliography
Chapter 1:
Chapter 2:
Chapter 3:
Chapters 4 and 5:
Application Papers:
About the Author
About the CD-ROM
License Agreement
Technical Support
[ Team LiB ]
[ Team LiB ]
Copyright
Library of Congress Cataloging-in-Publication Data
Klinger, Thomas, Ph.D.
Image processing with LabVIEW and IMAQ vision / Thomas Klinger.
p. cm.—(National Instruments virtual instrumentation series)
Includes bibliographical references and index.
ISBN 0-13-047415-0
1. Image processing—Digital techniques. 2. Engineering instruments—Data processing. 3.
LabVIEW. I. Title. II. Series.
TA1632.K58 2003
621.36'7—dc21
2003045952
Editorial/production supervision: Jane Bonnell
Cover design director: Jerry Votta
Cover design: Nina Scuderi
Manufacturing buyer: Maura Zaldivar
Publisher: Bernard M. Goodwin
Editorial assistant: Michelle Vincenti
Marketing manager: Dan DePasquale
© 2003 Pearson Education, Inc.
Publishing as Prentice Hall Professional Technical Reference
Upper Saddle River, New Jersey 07458
Prentice Hall PTR offers excellent discounts on this book when ordered in quantity
for bulk purchases or special sales. For more information, please contact: U.S.
Corporate and Government Sales, 1-800-382-3419,
corpsales@pearsontechgroup.com. For sales outside of the U.S., please contact:
International Sales, 1-317-581-3793, international@pearsontechgroup.com.
Company and product names mentioned herein are the trademarks or registered trademarks
of their respective owners.
All rights reserved. No part of this book may be reproduced, in any form or by any means,
without permission in writing from the publisher.
Printed in the United States of America
First Printing
Pearson Education LTD.
Pearson Education Australia PTY, Limited
Pearson Education Singapore, Pte. Ltd.
Pearson Education North Asia Ltd.
Pearson Education Canada, Ltd.
Pearson Educaciòn de Mexico, S.A. de C.V.
Pearson Education—Japan
Pearson Education Malaysia, Pte. Ltd.
To Uschi, Peter, and Judith
[ Team LiB ]
[ Team LiB ]
Virtual Instrumentation Series
Kenneth L. Ashley
Analog Electronics with LabVIEW
Jeffrey Y. Beyon
Hands-On Exercise Manual for LabVIEW Programming, Data Acquisition, and Analysis
Jeffrey Y. Beyon
LabVIEW Programming, Data Acquisition, and Analysis
Mahesh L. Chugani • Abhay R. Samant • Michael Cerra
LabVIEW Signal Processing
Jon Conway • Steve Watts
A Software Engineering Approach to LabVIEW
Nesimi Ertugrul
LabVIEW for Electric Circuits, Machines, Drives, and Laboratories
Rahman Jamal • Herbert Pichlik
LabVIEW Applications and Solutions
Shahid F. Khalid
Advanced Topics in LabWindows/CVI
Shahid F. Khalid
LabWindows/CVI Programming for Beginners
Thomas Klinger
Image Processing with LabVIEW and IMAQ Vision
Hall T. Martin • Meg L. Martin
LabVIEW for Automotive, Telecommunications, Semiconductor, Biomedical, and Other
Applications
Bruce Mihura
LabVIEW for Data Acquisition
Jon B. Olansen • Eric Rosow
Virtual Bio-Instrumentation: Biomedical, Clinical, and Healthcare Applications in
LabVIEW
Barry Paton
Sensors, Transducers, and LabVIEW
Jeffrey Travis
LabVIEW for Everyone, second edition
[ Team LiB ]
[ Team LiB ]
About Prentice Hall Professional
Technical Reference
With origins reaching back to the industry's first computer science publishing program in the
1960s, and formally launched as its own imprint in 1986, Prentice Hall Professional Technical
Reference (PH PTR) has developed into the leading provider of technical books in the world
today. Our editors now publish over 200 books annually, authored by leaders in the fields of
computing, engineering, and business.
Our roots are firmly planted in the soil that gave rise to the technical revolution. Our bookshelf
contains many of the industry's computing and engineering classics: Kernighan and Ritchie's C
Programming Language , Nemeth's UNIX System Adminstration Handbook , Horstmann's Core
Java, and Johnson's High-Speed Digital Design .
PH PTR acknowledges its auspicious beginnings while it looks to the future for inspiration. We
continue to evolve and break new ground in publishing by providing today's professionals with
tomorrow's solutions.
[ Team LiB ]
[ Team LiB ]
List of Figures
1.1 Ultrasound Imager and Refractometer
1.2
Scientific Microscope and Visual Presenter
1.3 Network Structure with Simultaneous Use of Ethernet and IEEE1394
1.4 Definition of an Image as a Rectangular Matrix
1.5 Definition of a Color Image as Multiplane Image
1.6 Definition of an RGB-Color Image
1.7
1.8
1.9
Image Processing Example
Image Analysis Example
IMAQ Vision Builder Environment
1.10 IMAQ Vision Builder Image Browser
1.11 Acquiring Images into IMAQ Vision Builder
1.12 Edge Detection with a Line Profile
1.13 Using the Caliper Tool
1.14 Creating a Script File for Blob Analysis
1.15 LabVIEW VI Creation Wizard
1.16 metal.vi Created by the VI Creation Wizard
1.17 NI Vision Builder AI Configuration Interface
1.18 NI Vision Builder AI Inspection Interface
1.19 Finding a Straight Edge in NI Vision Builder AI
1.20 Measuring the Distance Between Two Edges
1.21 Pattern Matching in a Limited Search Region
2.1 Questions Regarding Pixel Transfer
2.2
Principle of a CCD Sensor
2.3 CCD Transfer Mechanism
2.4 Charge Transfer Efficiency (CTE) as a Function of Pulse Length
2.5
Impact of Charge Transfer Efficiency (CTE) on Pixel Brightness
2.6 Charge Transfer Efficiency (CTE) Far Too Low
2.7
2.8
Structure of Surface Channel and Buried Channel CCDs
Visualization of the Modulation Transfer Function (MTF)
2.9 Hot Pixels of a 2.1 Megapixel CCD Camera
2.10 MediaChance Hot Pixel Eliminator
2.11 Blooming Effect Caused by a Laser Pointer
7
7
8
10
11
12
13
13
16
17
18
20
21
23
26
27
29
30
30
31
31
34
34
35
36
37
38
39
41
42
43
44