Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OpenCV Android Programming By Example
  • Table Of Contents Toc
OpenCV Android Programming By Example

OpenCV Android Programming By Example

By : Amgad Muhammad
4 (1)
close
close
OpenCV Android Programming By Example

OpenCV Android Programming By Example

4 (1)
By: Amgad Muhammad

Overview of this book

Starting from the basics of computer vision and OpenCV, we'll take you all the way to creating exciting applications. You will discover that, though computer vision is a challenging subject, the ideas and algorithms used are simple and intuitive, and you will appreciate the abstraction layer that OpenCV uses to do the heavy lifting for you. Packed with many examples, the book will help you understand the main data structures used within OpenCV, and how you can use them to gain performance boosts. Next we will discuss and use several image processing algorithms such as histogram equalization, filters, and color space conversion. You then will learn about image gradients and how they are used in many shape analysis techniques such as edge detection, Hough Line Transform, and Hough Circle Transform. In addition to using shape analysis to find things in images, you will learn how to describe objects in images in a more robust way using different feature detectors and descriptors. By the end of this book, you will be able to make intelligent decisions using the famous Adaboost learning algorithm.
Table of Contents (8 chapters)
close
close

Image transformations and perspective correction


Images can go through a set of transformations. The simplest ones are listed here.

Translation

Basically, in image coordinates translation, what we do is shift every pixel, p=[x,y], with an amount, t=[,]. For example, we can write the translation for pixel p as .

Rotation and translation

In this transformation, we apply rotation to every pixel followed by a translation. This transformation is also known as two-dimensional Euclidean transformation as Euclidean distances are preserved.

We can write this transformation as , where R is a 2-by-2 matrix, which equals and is the angle used for rotation.

Scaled rotation

This is also known as similarity transformation, and in this transformation, we add a scaling factor so that the transformation can be expressed as . This transformation preserves the angles between the lines.

Affine

In the Affine transformation, parallel lines remain parallel and it can be expressed as , where and A=.

Perspective transformation...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
OpenCV Android Programming By Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon