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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Image Processing Cookbook

You're reading from   Python Image Processing Cookbook Over 60 recipes to help you perform complex image processing and computer vision tasks with ease

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781789537147
Length 438 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sandipan Dey Sandipan Dey
Author Profile Icon Sandipan Dey
Sandipan Dey
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Image Manipulation and Transformation 2. Image Enhancement FREE CHAPTER 3. Image Restoration 4. Binary Image Processing 5. Image Registration 6. Image Segmentation 7. Image Classification 8. Object Detection in Images 9. Face Recognition, Image Captioning, and More 10. Other Books You May Enjoy

Image alignment with ECC algorithm and warping

The parametric image alignment problem involves finding a transformation that aligns two images. In this recipe, you will learn how to estimate the geometric transform (in terms of a warp matrix) between two images using the ECC criterion with OpenCV-Python library's implementation. Given a pair of image profiles (intensities), Ir(x) (the reference image) and lw(y) (the warped image), and a set of coordinates T={xk, k=1,..,K} (known as the target area), the alignment problem is to find the corresponding coordinate set in the warped image. Assuming φ is the given transformation model, the alignment problem can be extrapolated to the problem of estimating the parameters, p, as shown in the following screenshot:

ρ(p) is maximized with gradient-based approaches. The ECC criterion does not depend on the changes in contrast...

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