代码搜索结果
找到约 8,819 项符合
RGB 的代码
testswt_l2.m
clear all
close all
clc
X=imread('cell.jpg');
figure, imshow(X)
X=RGB2GRAY(X);
[m n]=size(X);
XX=zeros(m+2, n+2);
XX(1:m,1:n)=X(:,:);
SWC = swt2(XX,2,'db1');
[A,H,V,D] = swt2(XX,2,
testdwt.m
clear all
close all
clc
J=imread('cell.jpg');
figure, imshow(J)
J=RGB2GRAY(J);
S=size(J);
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters('db1');
[ca,chd,cvd,cdd] = dwt2(J,Lo_D,Hi_D);
%normalisation des
hough.m
% Hough 变换
clear;
i=imread('d:\test.bmp');
i=rgb2gray(i);
i_long =size(i,1);
i_width=size(i,2);
i_edge=edge(i,'robert');
i_hough=zeros(300,300);
theta_step=3.14*2/299;
theta=0:theta_step:2*3.
hough.m
% Hough 变换
i=imread('test.bmp');
i=rgb2gray(i);
i_long =size(i,1);
i_width=size(i,2);
i_edge=edge(i,'robert');
i_hough=zeros(300,300);
theta_step=3.14*2/299;
theta=0:theta_step:2*3.14;
x_ma
style.css
body{ font-size: 9pt; font-family:"Verdana", "Arial", "宋体"; }
td{font-size:9pt}
p{ font-size:9pt}
li{font-size:9pt}
BigFont{ font-size:9pt;}
select.smallselsect{font-size:9pt;
color:rgb(0,0,
led灯带控制.plg
礦ision Build Log
Project:
C:\Documents and Settings\Administrator\桌面\RGB-三基色LED灯带控制-测试成功\LED灯带控制.uvproj
Project File Date: 07/02/2013
Output:
program_01_03.m
%原始索引图像
load trees
%转换为灰度图像
I = ind2gray(X,map);
figure(1)
subplot(2,2,1);imshow(X,map);title('索引图像');
subplot(2,2,2);imshow(I);title('转换后的灰度图像');
%原始真彩图像
RGB = imread('peppers.png');
%转换为索引图
program_01_03.m
%原始索引图像
load trees
%转换为灰度图像
I = ind2gray(X,map);
figure(1)
subplot(2,2,1);imshow(X,map);title('索引图像');
subplot(2,2,2);imshow(I);title('转换后的灰度图像');
%原始真彩图像
RGB = imread('peppers.png');
%转换为索引图
zhongzhilvbo.asv
I=imread('D:\数字图像作业——把该文件夹放在D盘\girl.bmp');
I=rgb2gray(I); % 将彩色图像转为灰度图像。
J= imnoise(I,'gaussian',0,0.02);
subplot(231),imshow(I);title('原图像');
subplot(232),imshow(J);title('添加高斯噪声图像'); %
klinjinpingjun.asv
b=imread('D:\数字图像作业——把该文件夹放在D盘\girl.bmp'); % 读入图片girl.bmp。
I1=rgb2gray(b); % 将彩色图像转为灰度图像。
I=imnoise(I1,'salt & pepper',0.02);
subplot(231),imshow(I1);title('原图像