图形图像处理(十三讲).pptVIP

  • 2
  • 0
  • 约3.84千字
  • 约 27页
  • 2019-02-17 发布于江苏
  • 举报
图形图像处理(十三讲)

图形图像处理 信息与计算科学系 张宝雷 9.1 论述 9.3 边缘检测 9.3.1 边缘检测算子 9.3.2 边缘检测算子的MATLAB 实现 9.3.2 边缘检测算子的MATLAB实现 不同算子下的边界比较 9.6.2 四叉树分解的分割法 目标识别 欧氏距离 X,y are vectors d=norm(x-y) d=sqrt(sum(abs(x-repmat(y,p,1)).^2,2) X,y are matrix D=sqrt(sum(abs(repmat(permute(x,[1 3 2]),[1 q 1])-repmat(permute(y,[1 3 2]),[p 1 1]).^2,3)) 目标识别(判别分析) MAT2STR Convert a 2-D matrix to a string in MATLAB syntax. STR = MAT2STR(MAT) converts the 2-D matrix MAT to a MATLAB string so that EVAL(STR) produces the original matrix (to within 15 digits of precision). Non-scalar matrices are converted to a string containing brackets []. MAT2STR Example mat2str(magic(3)) produces the string [8 1 6; 3 5 7; 4 9 2]. a = int8(magic(3)) mat2str(a,class) produces the string int8([8 1 6; 3 5 7; 4 9 2]). STRCMP STRCMP Compare strings. TF = STRCMP(S1,S2) compares the strings S1 and S2 and returns logical 1 (true) if they are identical, and returns logical 0 (false) otherwise. graycomatrix graycomatrix Create gray-level co-occurrence matrix from image Syntax glcm = graycomatrix(I) glcms = graycomatrix(I, param1, val1, param2, val2,...) [glcm, SI] = graycomatrix(...) graycomatrix I = [ 1 1 5 6 8 8; 2 3 5 7 0 2; 0 2 3 5 6 7] [glcm,SI] = graycomatrix(I,NumLevels,9,G,[]) I = 1 1 5 6 8 8 2 3 5 7 0 2 0 2 3 5 6 7 glcm = 0 0 2 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 灰度共生矩阵 灰度共生矩阵除与灰度(i,j)对有关外,还与位移矢量d密切相关.

文档评论(0)

1亿VIP精品文档

相关文档