Book Image

OpenCV Computer Vision Application Programming Cookbook Second Edition

By : Robert Laganiere
Book Image

OpenCV Computer Vision Application Programming Cookbook Second Edition

By: Robert Laganiere

Overview of this book

Table of Contents (18 chapters)
OpenCV Computer Vision Application Programming Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Transforming Images with Morphological Operations

In this chapter, we will cover the following recipes:

  • Eroding and dilating images using morphological filters

  • Opening and closing images using morphological filters

  • Detecting edges and corners using morphological filters

  • Segmenting images using watersheds

  • Extracting distinctive regions using MSER

  • Extracting foreground objects with the GrabCut algorithm