This preview shows page 1. Sign up to view the full content.
Unformatted text preview: W is a constant scaling factor equal to 100 * R * C, the number of rows and columns in the input image S, respectively. Use of for or while loops is not permitted in computing the noise matrix N. Hints : Recall for a random variable G that var( G) = 2 var(G). Also r eview the functions meshgrid and randn for help in creating a variance matrix. c) Average SNR Compute the signaltonoise ratio (a scalar value) averaged over all the pixels of the noised image O = S + N as: , the matrix of mean values of O is equal to S since the noise matrix N has zero means. Plot the SNR as you vary W from (10 * R * C) to (100 * R * C) over 10 equal points (see the plot and linspace functions .) Submit your plot along with a few examples of the noised image O for different values of W....
View Full
Document
 Fall '08
 MANJUNATH

Click to edit the document details