Exercise: Noise Estimation Program

Write a program that accepts as input an image and prompts the user for the coordinates of a sub-region of the image which is suppose to represent a near-constant grey-level region. Then using this region, estimate the mean and standard deviation of the Noise using the formulas previously described here. Print out the values to the user.

Try running the program with a few images with a variety of noise added to them to test the results. Here are some examples you can use:
Image 1 (tif)
Image 2 (tif)


Mean Algorithm