Lti image processing library
¨ LEHRSTUHL FUR TECHISCHE INFORMATIK
Prof. Dr.-Ing. Karl-Friedrich Kraiss
LTI Image Processing Library Developer’s Guide
Version: 21.07.2004
Address
LTI Computer Vision Library Lehrstuhl f¨r Technische Informatik u Ahornstr. 55 52074 Aachen ltilib@techinfo.rwth-aachen.de http://www.techinfo.rwth-aachen.de/http://ltilib.sourceforge.net/ Pablo Alvarado, Peter D¨rfler o
E-Mail WWW
Coordinators
Der Lehrstuhl f¨r Technische Informatik (LTI ) und die Autoren ubernehmen weder u ¨ implizit noch explizit Haftung irgendwelcher Art. Der Benutzer tr¨gt s¨mtliche a a Risiken, die aus der Verwendung der Informationen dieses Dokuments resultieren. In keinem Fall kann der LTI f¨r mittelbare oder unmittelbare, zuf¨llige oderbesondere u a Sch¨den oder Folgesch¨den, die aus einem Mangel der Dokumentation resultieren, a a haftbar gemacht werden. Dies gilt auch, wenn auf die M¨glichkeit eines solchen o Schadens hingewiesen wurde. Der LTI beh¨lt sich das Recht vor, dieses Dokument zu uberarbeiten und gelegentlich a ¨ zu ver¨ndern, ohne verpflichtet zu sein, zuvor irgendeine Person oder Organisation a ¨ ¨ uber solch eineUberarbeitung oder Anderung zu unterrichten. ¨
The Chair of Technical Computer Science (LTI ) and the authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. The LTI reserve the right to change the contents of this document at any time without notice.
All terms mentioned in this document that are known to be trademarksor service marks have been appropriately capitalized. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark.
Contents
1 Introduction 1.1 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 LTI-Lib Architecture 2.1 Functors, parameters and states . 2.2 Input and Output in the LTI-Lib 2.2.1 Example . . . . . . . . .. 2.3 Visualization Classes . . . . . . . 2.4 Classifiers . . . . . . . . . . . . . 2.5 Debug and Release Versions . . . 1 1 3 3 8 10 11 11 12 13 13 13 13 14 14 14 14 14 15 15 15 16 17 19 21 21 22 23 24 24 25 27 27 28 28 28
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . ..
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
3 C++ Programming Style Guide 3.1 Organisation of the data . . . . . . . . 3.1.1 Version control . . . . . . . . . 3.1.2 File conventions . . . . . . . . 3.2 Tools . . . . . . . . . . . . . . . . . . . 3.2.1 Debugging . . . . . . . . . . . . 3.2.2 Optimization . . . . . . . . . . 3.3 General programming conventions .. 3.3.1 Preamble . . . . . . . . . . . . 3.3.2 Name conventions . . . . . . . 3.4 C++-Programming . . . . . . . . . . . 3.4.1 File organization . . . . . . . . 3.4.2 Naming conventions . . . . . . 3.4.3 Class declaration and definition 3.4.4 Type casts . . . . . . . . . . . 3.4.5 Cases . . . . . . . . . . . . . . 3.4.6 Heap . . . . . . . . . . . . . . . 3.4.7 Text Formating . . . . . . . . . 3.4.8Portability . . . . . . . . . . . 3.4.9 Forbidden language features . . 3.4.10 Templates . . . . . . . . . . . . 3.4.11 Error handling . . . . . . . . . 3.4.12 Status monitors . . . . . . . . . 3.5 Creating new functors . . . . . . . . . 3.6 Documentation . . . . . . . . . . . . . 3.6.1 Documentation system . . . . . 3.6.2 Documentation style . . . . . .
. . . . . . . . . . . . . . . . . . . .. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . ....
Regístrate para leer el documento completo.