Book Image

Direct3D Rendering Cookbook

Book Image

Direct3D Rendering Cookbook

Overview of this book

Table of Contents (19 chapters)
Direct3D Rendering Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Further Reading
Index

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