Learning OpenCV_3rd

所需积分/C币:8 2017-12-25 11:18:12 9.52MB PDF
收藏 收藏

Learning OpenCV_3rd, C++开发,经典教材,专业人士使用
Learning OpenCv3 Computer vision in C++ with the opencv library Adrian Kaehler and gary bradski Beijing. Boston. Farnham. Sebastopol. Tokyo OREILLY Learning open cv3 by adrian Kaehler and gary bradski Copyright C 2017 Adrian Kaehler, Gary Bradski. All rights reserved Printed in the United States of America Published by Oreilly Media, Inc, 1005 Gravenstein Highway North, Sebastopol, CA95472 OReilly books may be purchased for educational, business, or sales promotional use Online editions are alsoavailableformosttitles(http://www.oreilly.com/safari).Formoreinformationcontactourcorpo rate/institutionalsalesdepartment800-998-9938orcorporate@oreilly.com Editor: Dawn Schanafelt Indexer: Ellen troutman Production Editor: Kristen Brown Interior Designer: David Futato Copyeditor: Rachel Monaghan Cover Designer: Karen Montgomery Proofreader: James Fraleigh Illustrator: Rebecca demarest December 2016 First edition Revision history for the first Edition 2016-12-09: First Release Seehttp://oreilly.com/catalog/errata.csp?isbn=9781491937990forreleasedetails The O Reilly logo is a registered trademark of o reilly Media, Inc. Learning open cv 3, the cover image and related trade dress are trademarks of o reilly media, Inc While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights 978-1-491-93799-0 Table of contents Preface XV Overview What Is OpenCv Who Uses openCv? What Is Computer vision? The Origin of OpenCV OpenCV Block Diagram 1123689 Speeding Up OpenCV with IPP Who Owns OpenCv? 10 Downloading and Installing OpenCV 10 Installation 10 Getting the latest open cv via git More Opencv documentation 13 Supplied documentation 14 Online documentation and the wiki 14 OpenCV Contribution Repository 17 Downloading and Building Contributed Modules 17 Portability 18 Summary 19 Exercises 19 2. Introduction to OpenCV. 21 Include files 21 Resources 22 First Program--Display a Picture 23 Second Program-Video 25 Moving Around 27 A Simple transformation 31 A Not-So-Simple transformation 32 Input from a Camera 35 Writing to an avi file 36 Summary 38 Exercises 38 3. Getting to know Open Cv Data Types. 41 The basics 41 OpenCV Data Types 41 Overview of the Basic Types 42 Basic Types: Getting down to details Helper objects 52 Utility Functions The Template Structures 67 Summary 68 Exercises 69 4. Images and Large Array Types.......... 71 Dynamic and Variable Storage 71 The cv: Mat Class: N-Dimensional Dense arrays Creating an Array Accessing array elements Individually 78 The N-ary Array Iterator: NAry MatIterator 81 Accessing Array Elements by Block 84 atrix Expressions: Algebra and cv: Mat Saturation Casting 87 More Things an array can Do 88 The cv: SparseMat Class: Sparse Array 89 Accessing Sparse Array Elements 90 Functions Unique to sparse arrays 92 Template Structures for Large Array Types 94 ummary 7 Exercises 5. Array operations 99 More Things you can Do with arrays 9 cv: :abso 102 cv: :absdiffo 103 cv:addo 103 addWeightedo 104 cv: bitwise_ ando 106 iv Table of Contents cv: bitwise_ noto 107 cv:: bitwise oro 107 cv: bitwise_ xorO 108 cv: calc Covar Matrix 108 cv: cartToPolarO 110 cv: checkRangeo CV.: compare 111 cv: complete Symmo 112 cv:: convertScaleAbso 112 cv: countNon Zero 113 cv: carr ToMatO 113 cv: dct 114 cv: dft 115 v: cvtColoro 117 cv: determinant CV∷div1de 120 Cv: eigen( ( 120 pO 21 cv: extractImageCOIO 121 fl i 122 cv: gemmO 122 cv:get ConvertElemO and cv: getConvertScaleElemO 123 cv: : idct 124 cv: idfto 124 Cv.. InRange 124 cv: insertImageCOIO 125 cv:invert( 126 126 LUTO 127 cv: magnitude) 127 cv: Mahalanobis 128 Cv:maX 129 cv∴mean 130 cv: mean StdDevO 130 Cv.merge 131 Cv:amin 131 cv: minMaxIdxo 132 cv: minMaxLoco 133 cv: mix Channelso 134 cv: mulSpectrumsO) 136 cv: multiply 136 cv: mulTransposedo 136 Table of conten Cv.norm 137 cv: normalize 139 cv: Perspective Transform 140 cv: Phase( 141 cv:Polar ToCartO 142 cv: PowO 142 cv: rando 143 cvsranan 143 cv: randShuffleo d cV∷ reduce 144 peat) 145 cv:: scaleAddo 146 cv: setIdentityO 146 CV.:solvecuDio 148 cv: SolvePolyo 149 cv..sort( 149 rtDx 149 v: split( 150 cv: :sarto 150 cv::Subtract 152 cv::sum( 152 cv:trace 152 cv:transform 153 cv: transposed 153 Summary 154 Exercises 154 6. Drawing and Annotating Drawing Things 157 Line art and Filled polygons 158 Fonts and text 165 ummary 167 Exercises 167 7. Functors in Opencv ,169 Objects That“ Do Stuff 169 Principal Component Analysis(cv: PCA) 169 Singular Value Decomposition(CV: SVD) 173 Random Number generator(cv: RNG) 176 Summary Exercises 180 Table of contents 8. Image, video, and data files........................ 183 HighGUl: Portable Graphics Toolkit 183 Working with Image Files 185 Loading and Saving Image 185 a Note about codecs 188 Compression and decompression 188 Working with Video 189 Reading video with the cv: Video Capture object 190 Writing video with the cv: Video writer object 196 Data persistence 198 Writing to a cv: File Storage 198 Reading from a cv: FileStorage 200 cy. filenode 201 ummary 204 Exercise 204 9. Cross-Platform and native Working with Windows 207 HighGUI Native Graphical User Interface 208 Working with the Qt Backend 220 Integrating OpenCV with Full GUI Toolkits 232 ummary 247 Exercises 247 10. Filters and convolution 249 verview 249 Before We Begin 249 Filters, Kernels, and Convolution 249 Border extrapolation and boundary conditions 251 Threshold Operations 255 Otsu's Algorithm 258 Adaptive Threshold 259 Smoothing 261 Simple blur and the box filter 262 Median filter 265 Gaussian filter 266 Bilateral filte 267 Derivatives and gradients 269 The Sobel derivative 269 Scharr filter 272 The Laplacian 273 Image Morphology 275 Table of( ontents|ⅶi Dilation and erosion 276 The General Morphology Function 281 Opening and Closing 281 Morphological gradient 285 Top Hat and Black Hat 287 Making your own kernel 289 Convolution with an Arbitrary Linear filter 290 Applying a General Filter with cv: filter 2DO 291 Applying a General Separable Filter with cv: Sep Filter2D 292 Kernel builders 292 Summary 294 Exercises 294 11. General Image Transforms......................... 299 Overview 299 Stretch, Shrink, Warp, and rotate 299 Uniform Resize 300 Image pyramids 302 Nonuniform Mappings 306 Affine Transformation 308 Perspective Transformation 313 ppings 316 Polar mappings 317 LogPolar g 318 arbitrary mappings 322 Image re 323 g 324 Denoising 325 Histos am equalization 328 cv::equalizeHist(: Contrast equalization 331 Summary 331 Exercises 332 12. Image Analysis............... 335 Overview 335 Discrete Fourier transform 336 cv: dftO The Discrete Fourier Transform 336 cv: idft(: The Inverse Discrete Fourier Transform 339 cv: mulSpectrums(: Spectrum Multiplication 339 Convolution Using Discrete Fourier Transforms 340 cv: dct: The Discrete Cosine Transform 342 cv: idct(: The Inverse Discrete Cosine Transform 343 I Table of Contents

试读 1017P Learning OpenCV_3rd
立即下载 身份认证后 购VIP低至7折
shmoy 质量很不错,感谢
关注 私信
Learning OpenCV_3rd 8积分/C币 立即下载
Learning OpenCV_3rd第1页
Learning OpenCV_3rd第2页
Learning OpenCV_3rd第3页
Learning OpenCV_3rd第4页
Learning OpenCV_3rd第5页
Learning OpenCV_3rd第6页
Learning OpenCV_3rd第7页
Learning OpenCV_3rd第8页
Learning OpenCV_3rd第9页
Learning OpenCV_3rd第10页
Learning OpenCV_3rd第11页
Learning OpenCV_3rd第12页
Learning OpenCV_3rd第13页
Learning OpenCV_3rd第14页
Learning OpenCV_3rd第15页
Learning OpenCV_3rd第16页
Learning OpenCV_3rd第17页
Learning OpenCV_3rd第18页
Learning OpenCV_3rd第19页
Learning OpenCV_3rd第20页

试读结束, 可继续阅读

8积分/C币 立即下载