Opencv

Solo disponible en BuenasTareas
  • Páginas : 56 (13853 palabras )
  • Descarga(s) : 37
  • Publicado : 8 de abril de 2010
Leer documento completo
Vista previa del texto
P ROGRAMMING WITH I NTEL IPP (I NTEGRATED P ERFORMANCE P RIMITIVES ) AND I NTEL O PEN CV (O PEN C OMPUTER V ISION ) U NDER GNU L INUX

A B EGINNER ’ S T UTORIAL
´ ˆ ´ by J ER OME L ANDR E j.Landre@iutlecreusot.u-bourgogne.fr

version 0.4 - July 2003
Universite de Bourgogne ´ Institut Universitaire de Technologie ´ Laboratoire Electronique, Informatique et Images U.M.R. C.N.R.S. 5158 12, ruede la Fonderie 71 200 Le Creusot FRANCE t´ l. +33 (0)3–85–73–10–00 e fax +33 (0)3–85–73–10–99 http://iutlecreusot.u-bourgogne.fr

To Life, Love, Dreams and Peace...

Contents
1 Introduction 1.1 Foreword . . . . . . . . . 1.2 About this tutorial . . . . 1.3 Intel IPP . . . . . . . . . . 1.4 Intel OpenCV . . . . . . . 1.5 Prerequisites . . . . . . . 1.6 Presentation of chapters . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5 5 6 6 6 7

2 Installation under GNU Linux 2.1 IPP installation . . . . . . . 2.2 OpenCV installation . . . . 2.3 Linux and libraries. . . . . . 2.4 Directory structure. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

9 . 9 . 12 . 17 . 19 21 21 22 24 25 26 28 33 33 37 39 42 49 51

3 Basic OpenCV 3.1 General information . . . . . . . 3.2 Creating an image . . . . . . . . 3.3 Loading and displaying files .. 3.4 Makefile . . . . . . . . . . . . . . 3.5 JPEG and BMP are different . . 3.6 Color conversion using OpenCV 4 Basic IPP 4.1 General information . . . . . . 4.2 A small example to begin with 4.3 Color conversion under IPP . . 4.4 Filtering and saving an image 5 Conclusion A Internet websites

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

B Libraries overview 53 B.1 Intel Performance Primitives (IPP) . . . . . .. . . . . . . . . 53 B.2 Open Computer Vision Library (OpenCV) . . . . . . . . . . . 54 3

C Copyright information

55

Chapter 1

Introduction
“Every man has two nations and one of them is France.” Benjamin FRANKLIN — 1706-1790

1.1 Foreword
Writing a book, especially a tutorial is not an easy task. Teaching is a very interesting job but also a very difficult one because you need togive interesting information on a subject to people that are not used with this subject. You need to be clear and precise to make your assistance understand what you want to explain. I want to be as precise as possible but without any warranty of success. Your judgment will be the best way for me to see if I was good or not. Because english (and US english) is not my mother language, I want toapologize for any mistake encountered in the pages of this manual. I have tried to do my best to produce a good written english, however any comment is welcome to improve its quality.

1.2 About this tutorial
This manual is dedicated to the use of Intel signal and image processing libraries: IPP (Integrated Performance Primitives) and OpenCV (Open Computer Vision). The aim of this book is not toenter deeply into details but to introduce the concepts used in these libraries. IPP is a commercial low-level library for signal processing, image processing and matrix computation developed by Intel Corporation. It offers functions that are optimized to run on Intel Processors (Pentium, Pentium II, Pentium III, Pentium 4 and Itanium) and to take in account special abilities such as MMX...
tracking img