Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Raspberry Pi

You're reading from   Learning Raspberry Pi Unlock your creative programming potential by creating web technologies, image processing, electronics- and robotics-based projects using the Raspberry Pi

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781783982820
Length 258 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Serge Schneider Serge Schneider
Author Profile Icon Serge Schneider
Serge Schneider
Samarth Shah Samarth Shah
Author Profile Icon Samarth Shah
Samarth Shah
Arrow right icon
View More author details
Toc

Core algorithms


In this section, you will learn about core image processing algorithms such as edge detection and background subtraction.

Edge detection

An edge may be defined as a set of connected pixels that forms a boundary between two disjoints regions. Edge detection is basically a method of segmenting an image into regions of discontinuity. Like many other core algorithms, there are many edge detection algorithms. In this section, you will get introduced to canny edge detection. This was developed by John F. Canny in 1986. This is a multistage algorithm.

All the stages of canny edge detection algorithm are explained in brief here: "Edge detection is susceptible to the noise in the image; the first step is to remove the noise in the image with a Gaussian filter, which was already described in the previous section. The second step is to find the intensity gradient of the image. After getting a gradient magnitude and direction, a full scan of the image is done to remove any unwanted pixels...

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 $19.99/month. Cancel anytime
Banner background image