Hello Mat

 找回密码
 立即注册
查看: 3281|回复: 0

图像的三维显示

[复制链接]

1295

主题

1521

帖子

112

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22639
发表于 2017-2-5 11:29:17 | 显示全部楼层 |阅读模式

焊缝采样焊缝图像如图
  1. clc,clear,close all                    % 清屏、清工作区、关闭窗口
  2. warning off                         % 消除警告
  3. feature jit off                        % 加速代码执行
  4. ps=imread('1.jpg');
  5. subplot(121),imshow(ps)
  6. background=imopen(ps,strel('disk',4));   % 形态学开运算
  7. % imshow(background);
  8. subplot(122),surf(double(background(1:4:end,1:4:end))),zlim([0 256]);
  9. set(gca,'Ydir','reverse');
复制代码









本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-5-11 14:49 , Processed in 0.227147 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表