Chapter 3. Learning the Graphical User Interface and Basic Filtering
In the previous chapter, we learned the basic classes and structures of OpenCV and the most important class called Mat
.
We learned how to read and save images, videos, and the internal structure in the memory of images.
We are ready to work now, but we need to show our results and have some basic interaction with our images. OpenCV provides us with a few basic user interfaces to work with and help create our applications and prototypes.
To better understand how the user interface works, we are going to create a small application called PhotoTool at the end of this chapter. In this application, we will learn how to use filters and color conversions.
In this chapter, we will cover the following topics:
The basic OpenCV user interface
The OpenCV QT interface
Sliders and buttons
An advanced user interface—OpenGL
Color conversion
Basic filters