I need to be able to generate a white noise image in C# code. Is there an algorithm I can use to fill the image with white noise?
I have found the VB example of how to
Should be something very simple along these lines, no?
foreach(var pixel in image) { pixel = rand()>0.5 ? white : black; }