Question: Create a code we can use to film grain a picture on DrJava All we did was to simply add 'noise'. In this context Every
Create a code we can use to film grain a picture on DrJava
All we did was to simply add 'noise'.
In this context Every pixel has its red, green, and blue channels independently shifted down or up by some random amount Even since we're adding or subtracting on each channel, everything still needs to stay within legal ranges
example when adding to 'white', we don't overflow/clip For your implementation, you should use appropriate procedural abstraction.
What's more, you should allow for different 'levels' of graininess (use 20 above) ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
