Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning OpenCV 3 Application Development

You're reading from  Learning OpenCV 3 Application Development

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781784391454
Pages 310 pages
Edition 1st Edition
Languages
Author (1):
Samyak Datta Samyak Datta
Profile icon Samyak Datta

Table of Contents (16) Chapters

Learning OpenCV 3 Application Development
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Laying the Foundation Image Filtering Image Thresholding Image Histograms Image Derivatives and Edge Detection Face Detection Using OpenCV Affine Transformations and Face Alignment Feature Descriptors in OpenCV Machine Learning with OpenCV Command-line Arguments in C++

Erosion and dilation


The good thing about erosion and dilation is that the fundamental principles that they operate upon are similar to image filtering. So, the basic concepts that you need to understand the nature of their operations are already known to you.

Now, when we talked about image filtering, we had mentioned that image averaging using a filter-based approach is a linear operation--the same type of operation is performed at all pixel locations and the output pixel intensity at any location is a linear combination of the intensities of its neighboring pixels. When we talk of erosion and dilation, we relax the constraints of linear combinations (the condition for the same operation to be performed at all locations still holds). In spite of the overwhelming similarity between filtering and morphological operations, there are some differences between the two. First, the kernel that is used in image thresholding is given the name of structuring element. And a change in the name always...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}