wrote in message
Does anyone know how the Adobe Photoshop "grain" and "grain film" filters are implemented? What is the Math behind them?
Adobe does not publish the details of how their software works, but in general grain can be added in at least two different ways. One is to add noise to the image, with the amount of the noise controlling the graininess of the final image. This does a good job when for example, you need to match the grain of a photograph to hide a retouched area. You can experiment with this effect using Photoshop’s Gaussian noise filter.
Another way to add grain is to multiply the image by a pattern. The template can be a pattern created by scanning an actual piece of film, or a mathematically generated pattern consisting of noise clumped together to simulate a grain texture. To experiment with a screen like this, the center of each grain is pure black, fading out to white at the edges. Fill a new layer with the pattern, and set the layer mode to Multiply.
Here is a free action that simulates a grain effect – you may find it interesting to step through the action and see what it does:
http://www.turningturnip.co.uk/photoshop/actions/photo-grain -actions.php —
Mike Russell
www.curvemeister.com/forum/