Book Image

Direct3D Rendering Cookbook

By : Justin Stenning, Justin Stenning
Book Image

Direct3D Rendering Cookbook

By: Justin Stenning, Justin Stenning

Overview of this book

Table of Contents (19 chapters)
Direct3D Rendering Cookbook
About the Author
About the Reviewers
Further Reading

Chapter 7. Performing Image Processing Techniques

In this chapter, we will use compute shaders (or DirectCompute) for the following image processing techniques:

  • Running a compute shader – desaturation (grayscale)

  • Adjusting the contrast and brightness

  • Implementing box blur using separable convolution filters

  • Implementing a Gaussian blur filter

  • Detecting edges with the Sobel edge-detection filter

  • Calculating an image's luminance histogram