最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

图像处理各种算法的实现

来源:动视网 责编:小OO 时间:2025-09-24 17:01:15
文档

图像处理各种算法的实现

实验一(读写及基本统计)a=imread();b=imread();c=rgb2gray(a);d=rgb2gray(b);e=imresize(c,[198,198]);f=imresize(d,[198,198]);subplot(231);imshow(e);subplot(232);g=imrotate(e,90);imshow(g);subplot(233);imshow(f);subplot(234);h=imadd(e,f);imshow(h);subplot(235);i=im
推荐度:
导读实验一(读写及基本统计)a=imread();b=imread();c=rgb2gray(a);d=rgb2gray(b);e=imresize(c,[198,198]);f=imresize(d,[198,198]);subplot(231);imshow(e);subplot(232);g=imrotate(e,90);imshow(g);subplot(233);imshow(f);subplot(234);h=imadd(e,f);imshow(h);subplot(235);i=im
                             实验一(读写及基本统计)

a=imread();

b=imread();

c=rgb2gray(a);

d=rgb2gray(b);

e=imresize(c,[198,198]);

f=imresize(d,[198,198]);

subplot(231);

imshow(e);

subplot(232);

g=imrotate(e,90);

imshow(g);

subplot(233);

imshow(f);

subplot(234);

h=imadd(e,f);

imshow(h);

subplot(235);

i=imsubtract(e,50);

imshow(i);

subplot(236);

j=mean(e);

stem(j);

pixval('on');

c=rgb2gray(a);

e=imresize(c,[198,198]);

imshow(e);

f=imresize(e,0.5);

imshow(f);

实验二(边缘检测)

a=imread();

b=rgb2gray(a);

c=imresize(b,[198,198]);

subplot(241);

imshow(c);

w=edge(c,'roberts');

x=edge(c,'prewitt');

y=edge(c,'sobel');

z=edge(c,'log');

subplot(242);

imshow(w);

subplot(243);

imshow(x);

subplot(244);

imshow(y);

subplot(245);

imshow(z);

subplot(246);

d=im2bw(c);

imshow(d);

subplot(247);

imhist(c);

figure;

实验三(图像增强)

a=imread();

b=rgb2gray(a);

c=imresize(b,[198,198]);

subplot(221);

imshow(c);

subplot(222);

d=imnoise(c,'gaussian');

imshow(d);

subplot(223);

h=1/2.*[0 1/4 0;1/4 1 1/4 ;0 1/4 0];

i=filter2(h,d);

imshow(i);

subplot(224);

j=medfilt2(d);

imshow(j);

高斯噪声

a=imread();

b=rgb2gray(a);

c=imresize(b,[225 225]);

subplot(221);

imshow(c);

subplot(222);

d=imnoise(c,'salt & pepper');%椒盐噪声

imshow(d);

subplot(223);

h=1/2.*[0 1/4 0;1/4 1 1/4 ;0 1/4 0];

i=filter2(h,d);

imshow(i,[]);

subplot(224);

j=medfilt2(d);

imshow(j);

椒盐噪声

实验四

a=imread();

subplot(221);

imshow(a);

subplot(222);

b=rgb2hsv(a);

imshow(b);

subplot(223);

c=rgb2ntsc(a);

imshow(c);

subplot(224);

d=rgb2ycbcr(a);

imshow(d);

文档

图像处理各种算法的实现

实验一(读写及基本统计)a=imread();b=imread();c=rgb2gray(a);d=rgb2gray(b);e=imresize(c,[198,198]);f=imresize(d,[198,198]);subplot(231);imshow(e);subplot(232);g=imrotate(e,90);imshow(g);subplot(233);imshow(f);subplot(234);h=imadd(e,f);imshow(h);subplot(235);i=im
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top