O'Reilly logo

Android Application Programming with OpenCV by Joseph Howse

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Applying Image Effects

For this chapter, our goal is to add several image filters to Second Sight. These filters rely on various OpenCV functions for manipulating matrices through splitting, merging, arithmetic operations, or applying lookup tables for complex functions. Certain filters also rely on a mathematics library called Apache Commons Math.

Note

The completed Eclipse project for this chapter can be downloaded from my website at http://nummist.com/opencv/5206_03.zip.

Adding files to the project

We need to add several files to our Eclipse project in order to create new types (that is, interfaces and classes) and to link to a new library, Apache Commons Math. The following are the new types that we want to create:

  • com.nummist.secondsight.filters.Filter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required