代码搜索结果
找到约 5,749 项符合
RGB 的代码
8-13.m
rgb=imread('lily.tif');
imshow(rgb);
title('原始图像');
[X_no_dither,map]=rgb2ind(rgb,8,'nodither');
[X_dither,map]=rgb2ind(rgb,8,'dither');
figure, imshow(X_no_dither,map);
title('没有抖动的变换图像');
fi
ex622.m
%********************************************************
%程序:EX622.M
%功能:把一幅真彩图像转换为一个HSV模型空间对应的图像
%********************************************************
RGB=imread('pic001.jpg'); %将图像格式文件读入为M
ex620.m
%********************************************************
%程序:EX620.M
%功能:利用warp函数将一幅真彩图像映射到球面上
%********************************************************
RGB=imread('leaf.jpg'); %将图像格式文件读入为MAT
ex603.m
%********************************************************
%EX603.M
%功能:RGB图像显示
%********************************************************
RGB=imread('leaf.jpg'); %将图像格式文件读入为MATLAB图像对象数组数据
imag
ex623.m
%********************************************************
%程序:EX623.M
%功能:把一幅真彩图像转换为一个NTSC模型空间对应的图像
%********************************************************
RGB=imread('pic001.jpg'); %将图像格式文件读入
ex624.m
%********************************************************
%程序:EX624.M
%功能:把一幅真彩色图像转换为一个YCbCr模型空间对应的图像
%********************************************************
RGB=imread('pic001.jpg'); %将图像格式文
ex406.m
%********************************************************
%程序:EX406.M
%功能:RGB真彩着色使用实例
%********************************************************
[x,y]=meshgrid(-1:0.2:1); %设置矩形网格
z=x.^2+sin(y*pi
w3cam.css
/* w3cam example CSS style file */
BODY {
background: #f0f0f0;
color: #0f0f0f;
margin-top: 0.4em;
margin-left: 0.2em;
}
A {
text-decoration: underline;
}
A:link {
color: rgb(040,040,238)
}
A:
f11_1.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')
第七章4.txt
void CEx_A7View::DrawInfoWnd(CDC *pDC, CPoint pt, CString strInfo)
{
CRect rcWnd( pt.x, pt.y - 15, pt.x + 80, pt.y );
pDC->FillSolidRect( rcWnd, RGB( 0, 0, 128 ) );
pDC->Draw3dRect( rcWnd, RGB(