代码搜索:图像法
找到约 10,000 项符合「图像法」的源代码
代码结果 10,000
www.eeworm.com/read/375583/9356181
m un_entropy.m
%计算联合熵
%随机生成图像
A=imread('lena1.bmp');
B=imread('bacteria.bmp');
[M,N]=size(A);
temp=zeros(256,256);
%对图像的灰度值成对地做统计
for m=1:M;
for n=1:N;
if A(m,n)==0;
i
www.eeworm.com/read/165898/10047287
m sumarize11_5_2a.m
%调入与显示RGB图像
RGB = imread('peppers.png');
isrgb(RGB);
figure(1);
imshow(RGB);
%RGB图转换为灰度图像
I = rgb2gray(RGB);
figure(2);
imshow(I);
colorbar('horiz');
isgray(I);
%边缘检测
ED = edge(I,'sobel',0
www.eeworm.com/read/163481/10157879
m yuxiuming.m
clear all;
clc;
a0=imread('D:\Mary.bmp');
a=a0;
subplot(2,3,1);
imshow(a);
title('原图像');
subplot(2,3,4);
imhist(a);
title('灰度图像直方图');
a=imadjust(a,[],[0.0,0.4]);
a1=a;
subplot(2,3,2);
ims
www.eeworm.com/read/357171/10214035
m 13-6.m
I = imread('eight.tif');
J = imnoise(I,'salt & pepper',0.02);
%添加椒盐噪声
subplot(221),imshow(I)
title('原图像')
subplot(222),imshow(J)
title('添加椒盐噪声图像')
K1= filter2(fspecial('average',3),J)/255;
%应用
www.eeworm.com/read/159906/10591608
m 13-6.m
I = imread('eight.tif');
J = imnoise(I,'salt & pepper',0.02);
%添加椒盐噪声
subplot(221),imshow(I)
title('原图像')
subplot(222),imshow(J)
title('添加椒盐噪声图像')
K1= filter2(fspecial('average',3),J)/255;
%应用
www.eeworm.com/read/416403/11030982
m derterd.m
RGB = imread('tape.png'); %读取图片,数据存在RGB变量中;
I = rgb2gray(RGB); %将RGB转换为灰度图像数据;
threshold = graythresh(I); %获取灰度图像转换时的阈值;
BW = im2bw(I,threshold);
www.eeworm.com/read/469046/6984269
m 13-6.m
I = imread('eight.tif');
J = imnoise(I,'salt & pepper',0.02);
%添加椒盐噪声
subplot(221),imshow(I)
title('原图像')
subplot(222),imshow(J)
title('添加椒盐噪声图像')
K1= filter2(fspecial('average',3),J)/255;
%应用
www.eeworm.com/read/449477/7503890
m edge_distill.m
function edge_distill(image_name)
Image_I=imread(image_name);
if isgray(Image_I)==0
disp('请输入灰度图像!');
return;
end
subplot(2,3,1);
imshow(Image_I);
title( '原图像' );
subplot(2,3,2)