车辆矫正代码11节课.docx
文件大小: 12k
源码售价: 10 个金币 积分规则     积分充值
资源说明:车辆矫正源代码close all; clear all; clc; I = imread('D:\YZYT1.jpg'); figure; subplot(131), imshow(I); I1 = rgb2gray(I); I2 = wiener2(I1, [5, 5]); I3 = edge(I2, 'canny'); subplot(132), imshow(I3); [m, n] = size(I3); rho = round(sqrt(m^2 + n^2)); theta = 180; r = zeros(rho, theta); for i = 1 : m for j = 1 : n if I3(i,j) == 1 for k = 1 : theta ru = round(abs(i*cosd(k) + j*sind(k))); r(ru+1, k) = r(ru+1, k) + 1;
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。