ADVANCED COMPOSITING & RETOUCHING - Chapter 8, Exercise 1 Why Sharpen-Then-Grain Differs From Grain-Then-Sharpen ==================================================================================== QUESTION: Explain why applying a sharpen filter and then a grain filter produces a different result than applying the same two filters in the reverse order. SOLUTION / EXPLANATION: Every filter in a stack operates on whatever the image actually looks like at that specific point in the sequence - not on some fixed, unchanging "original" image. This is the core reason order matters, and it plays out concretely with sharpen and grain: SHARPEN, THEN GRAIN: The sharpen filter runs first, while the image still has its original, clean detail with no added noise. It enhances the real edges and detail that are actually present in the photo. Only after that is the grain filter applied, adding noise/texture on TOP of the already-sharpened image. The grain sits as its own separate, final layer of texture over crisp underlying detail - the sharpening and the grain don't interact with each other at all. GRAIN, THEN SHARPEN: The grain filter runs first, adding random noise/texture directly into the image's pixel data. The sharpen filter then runs on an image that now contains that random noise as part of its own detail - and sharpening works by increasing the contrast at detected edges, which doesn't distinguish between "a real edge in the photo" and "an edge created by random grain." The result is that the grain itself gets sharpened along with the real detail, exaggerating it into harsher, more visible, less natural-looking noise than the grain filter alone would have produced. So the two orders aren't a stylistic preference between equally valid results - they produce structurally different outcomes, because in one case the grain is untouched by the later steps, and in the other case the grain itself becomes an input that a later step actively modifies. -------------------------------------------------------------------------- WHY THIS WORKS AS AN ANSWER: It explains the general principle (each filter acts on the current state of the stack, not a fixed original) and then traces both specific orderings step by step, showing precisely why grain-then-sharpen causes the sharpen filter to amplify noise it can't distinguish from real detail.