This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: file and insert it into your document. If the figure is in an imtool window, first choose File then Print to Figure, then Edit and Copy Figure from the Figure window that pops up. 5. To execute a series of commands repeatedly, use a "for" loop: for i = 1:16, figure(i) imshow(noisy(:,:,i),) end 6. To calculate the standard deviation of the values in a range of a matrix, you can use my function calcstd. For example, to find the standard deviation of the intensities in columns 5 through 20 of rows 2 through 8 of the matrix noisy(:,:, 3): calcstd(noisy(2:8, 5:20, 3)) Remember that the rows are the "y" values in imtool and the columns are the "x" values. If the image matrix is 2-D, use the following: calcstd(averaged(2:8, 5:20))...
View Full Document
- Spring '11
- Standard Deviation, English-language films, Deviation