16. Image Processing in Metal
Everything we see hides another thing, we always want to see what is hidden by what we see.—René Magritte
One of the most common kernel processing operations is image processing. Image processing has been a popular GPU programming application since shaders were introduced. It encompasses a large number of uses from creating an interesting Snapchat filter effect to neural network training. Because you are basically just processing a texture, you don’t need to set up an entire rendering pipeline to do image processing, as there are no vertices to position. Processing can be as simple as modifying a single fragment and as complex as looking at massive grids of pixels in relation to one another. This chapter introduces ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access