售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
OpenCV Android Programming By Example
Table of Contents
OpenCV Android Programming By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Yourself Ready
Installing Tegra Android Development Pack
Downloading and installing TADP
TADP post-installation configuration
Installing emulator system images
Configuring Eclipse to work with NDK
NDK verification
Installing the OpenCV and Android development environment manually
Java SE Development Kit 6
Android Studio
Android SDK
Eclipse IDE
ADT and CDT plugins for Eclipse
Android NDK
Downloading Android NDK
Installing and configuring Android NDK
Building native code using Eclipse
OpenCV4Android SDK
Understanding how NDK works
An overview of NDK
A simple example of NDK
Android.mk
Building your first Android project with OpenCV
HelloVisionWorld Android application
Creating a project in Eclipse
Creating a project in Android Studio
Summary
2. App 1 - Building Your Own Darkroom
Digital images
Color spaces
The Mat class
Basic Mat operations
Processing the images stored on your phone
Loading an image to a Mat object
UI definitions
Reading an image using OpenCV
Calculating an image histogram
What are histograms?
Understanding histogram components
UI definitions
Calculating an image histogram
Enhancing the image contrast
Understanding histogram equalization
Enhancing grayscale images
UI definitions
Converting an image to grayscale
Equalizing a histogram for a grayscale image
Enhancing an HSV image
UI definitions
Equalizing a histogram for the image saturation and value
Enhancing an RGB image
UI definitions
Equalizing a histogram for the image color channels
Summary
3. App 2 - Software Scanner
Spatial filtering
Understanding convolution and linear filtering
Removing noise
The averaging filter
The Gaussian filter
The median filter
UI definitions
Applying filters to reduce image noise
Finding edges
The Sobel edge detector
The Canny edge detector
UI definitions
Applying the Sobel filter to find edges
Using the Canny edge detector
Detecting shapes
Understanding the Hough line transform
Detecting lines using Hough transform
UI definitions
Detecting and drawing lines
Detecting circles using Hough transform
UI definitions
Detecting and drawing circles
Summary
4. App 2 - Applying Perspective Correction
Image transformations and perspective correction
Translation
Rotation and translation
Scaled rotation
Affine
Perspective transformation
Rigid perspective correction
UI definitions
Estimating the perspective transformation using the object bounding box
Flexible perspective correction
UI definitions
Applying flexible perspective correction
Manual perspective correction
UI definitions
Selecting the corners manually
Summary
5. App 3 - Panoramic Viewer
Image features
Feature detectors
Understanding the Harris corner detector
UI definitions
Using the Harris corner detector
Calling a native Harris corner detector
Using the native OpenCV library within Eclipse
Using the native OpenCV library within Android Studio
Working on the native part
Understanding the FAST corner detector
UI definitions
Using the FAST corner detector
Using native FAST
Understanding the ORB feature detector
UI definitions
Using the ORB feature detector
Using native ORB
Feature description and matching
Understanding BRIEF and ORB feature descriptors
Understanding the BRISK feature descriptor
Understanding the FREAK feature descriptor
Matching the features
Working with feature matching
UI definitions
Finding an object in a scene
Native feature matching
UI definitions
The native matching process
Stitching two images
UI definitions
The native stitcher
Summary
6. App 4 – Automatic Selfie
Cascade classifiers
Haar-like features
The integral image
Adaptive Boosting
Cascading
Using cascade classifiers to detect objects
Accessing your phone's camera using OpenCV
A camera preview
UI definitions
Previewing the camera frames
Detecting closed palms in the camera frames
Using the Java-based cascade classifier
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜