Intro to Computing Using MATLAB

 Previous Lecture:

Image processing

3-d array, computing with type uint8, vectorized code

Read 12.4 of textbook (image processing, type uint8)

Today's Lecture:

Computing with characters (arrays of type char) Review top-down design for program development Linear search

Announcements:

Project 4A due tonight; Project 4B due Tue, Apr 13 Review Prelim 1; regrade requests due Mon

Deal with boundary issues ? moving window

% Get C, the radius r

nr?nc matrix A % neighborhood of pixel (i,j)

1...

nc iMin= max( 1,i-r)

1

iMax= min(nr,i+r)

nr jMin= max( 1,j-r)

jMax= min(nc,j+r)

C= A(iMin:iMax,jMin:jMax)

A

B = medianFilter(A,3)

Mean Filter with radius 3

Mean Filter with radius 10

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download