Download Image Acquisition - MVTec Software GmbH
Transcript
3 Contents 1 The Philosophy Behind the HALCON Frame Grabber Interfaces 4 2 A First Example 5 3 Connecting to Your Frame Grabber 6 3.1 Opening a Connection to a Specified Configuration . . . . . . . . . . . . . . . 6 3.2 Connecting to Multiple Boards and Cameras . . . . . . . . . . . . . . . . . . . 8 3.3 Requesting Information About the Frame Grabber Interface . . . . . . . . . . . 11 4 Configuring the Acquisition 12 4.1 General Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Special Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.3 Fixed vs. Dynamic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5 The Various Modes of Grabbing Images 15 5.1 Real-Time Image Acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.2 Using an External Trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.3 Acquiring Images From Multiple Cameras . . . . . . . . . . . . . . . . . . . . 25 6 Miscellaneous 27 6.1 Acquiring Images From Unsupported Frame Grabbers . . . . . . . . . . . . . 27 6.2 Error Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.3 Line Scan Cameras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 A HALCON Images 35 A.1 The Philosophy of HALCON Images . . . . . . . . . . . . . . . . . . . . . . . 35 A.2 Image Tuples (Arrays) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 A.3 HALCON Operators for Handling Images . . . . . . . . . . . . . . . . . . . . 36 B Parameters Describing the Image 38 B.1 Image Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 B.2 Frames vs. Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 B.3 Image Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 HALCON 6.1.4