O'Reilly logo

OpenCL Programming by Example by Koushik Bhattacharyya, Ravishekhar Banger

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 9. Image Processing and OpenCL

In the previous chapter we discussed an OpenCL implementation of a very basic algorithm called matrix multiplication. We saw that a matrix multiplication algorithm can be implemented in many different ways, such as by using local, global or private memory. In this chapter we delve into a different subject called image processing, in which we primarily discuss image convolution. Image processing in itself is a very big topic and there are many books which discuss the same. We will briefly deal with image processing in this chapter and explore the data parallel operations in image processing algorithms, and how it can be used with OpenCL. In this chapter, we will also discuss how to perform some filter operations ...

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