Processing the images stored on your phone
In this section, you will learn how to load an image from your phone and apply some interesting image processing algorithms to it, such as contrast enhancing, smoothing (removing noise from your image), and applying some filters.
Loading an image to a Mat object
Let's get started by first creating a new Android project. As you've seen in the previous chapter, in order to start using the OpenCV algorithms, you will need to add the OpenCV library to your project:
- Launch Eclipse.
- Create a new Android project application; let's name it
- Choose the package name. In this example, I chose it to be
- Set the minimum required SDK to be anything above API 11 (Android 3.0). In my ...