摘要:
毕业设计要做摄像机的参数标定,角点检测是一个重要步骤。View Code close all;clear all;clcim=imread('checkbord.png');im=rgb2gray(im);[m n]=size(im);I=zeros(m+2,n+2);Ix=zeros(m+2,n+2);Iy=zeros(m+2,n+2);R=zeros(m+2,n+2);flag=zeros(m,n);I(2:m+1,2:n+1)=im;Ix(:,2:n)=I(:,3:n+1)-I(:,1:n-1);Iy(2:m,:)=I(3:m+1,:)-I(1:m-1,:);A=Ix(2 阅读全文