Download Image Acquisition - MVTec Software GmbH
Transcript
Overview Obviously, the acquisition of images is a task to be solved in all machine vision applications. Unfortunately, this task mainly consists of interacting with special, non-standardized hardware in form of the frame grabber board. To let you concentrate on the actual machine vision problem, HALCON already provides interfaces performing this interaction for a large number of frame grabbers (see section 1). Within your HALCON application, the task of image acquisition is thus reduced to a few lines of code, i.e., a few operator calls, as can be seen in section 2. What’s more, this simplicity is not achieved at the cost of limiting the available functionality: Using HALCON, you can acquire images from various configurations of frame grabbers and cameras (see section 3) in different timing modes (see section 5). Unless specified otherwise, the example programs can be found in the subdirectory image acquisition of the directory %HALCONROOT%\examples\application guide. Note that most programs are preconfigured to work with a certain HALCON frame grabber interface; in this case, the name of the program contains the name of the interface. To use the program with another frame grabber, please adapt the parts which open the connection to the frame grabber. More example programs for the different HALCON frame grabber interfaces can be found in the subdirectory hdevelop\Image\Framegrabber of the directory %HALCONROOT%\examples. Please refer to the HALCON/C User’s Manual and the HALCON/C++ User’s Manual for information about how to compile and link the C and C++ example programs; among other things, they describe how to use the example UNIX makefiles which can be found in the subdirectories c and cpp of the directory %HALCONROOT%\examples. Under Windows, you can use Visual Studio workspaces containing the examples, which can be found in the subdirectory i586-nt4 parallel to the source files. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior written permission of the publisher. Edition 1 June 2002 (HALCON 6.1) Microsoft, Windows, Windows NT, Windows 2000, Windows XP, Visual Studio, and Visual Basic are either trademarks or registered trademarks of Microsoft Corporation. Linux is a trademark of Linus Torvalds. All other nationally and internationally recognized trademarks and tradenames are hereby recognized. More information about HALCON can be found at: http://www.mvtec.com/halcon/