This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: image(ans); % anomaly still at around 450, try slighter higher unblur(pic,455); image(ans); % break at 450 region has expanded, try lower unblur(pic,445); image(ans); % almost there! unblur(pic,444); image(ans); % optimum N found title( 'Rectified Image with Blur Filter set at N = 444' ); orient landscape ; print; unblur.m function [output] = unblur(image,N) L = size(image,2); H = toeplitz([ones(1,N) zeros(1,L-N)], [1 zeros(1,L-1)]); H = (1/N)* H; output = image * inv(H'); Plots:...
View Full Document
- Spring '09