代码搜索结果
找到约 8,819 项符合
RGB 的代码
ch5_4_3.m
%%%% 使用均值滤波器对真彩图像的每一个颜色平面进行滤波例程:
rgb=imread('peppers.png');
h=ones(5,5)/25;
rgb2=imfilter(rgb,h);
%B=IMFILTER(A,H)filtersthemultidimensionalarrayAwiththe
%multidimensionalfilterH.Acanbelogicalo
829text8.htm
function morph(e,wait,steps,style,done){
if(e.morphing){
return;
}
e.morphing = true;
e.step = 0;
e.done = steps;
e.wait = wait;
e.morphDone = done;
// initialize the given eleme
example4_9.m
RGB1=imread('pic005.jpg');
RGB2=imread('pic007.jpg');
I1=imread('rice.tif');
I2=imread('testpat1.tif');
subplot(2,2,1); %将图形窗口等分成4部分
subimage([0,500],[0,500],RGB1);
subplot(2,2,2);
subimage([
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')
5-4-2.cfm.htm
在网页中使用颜色
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')
xptextbox.bas
Attribute VB_Name = "xptextbox"
Public Enum states
Normal = 0
Disable = 1
ReadOnly = 2
End Enum
Public Function xptxt(txt As TextBox, pic As PictureBox, BackColor As ColorConstants
settingdlg.cpp
// SettingDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Graphic.h"
#include "SettingDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = _
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')
seismic.m
function rgb = seismic(n);
% seismic(n) creates a colormap, ranging from dark blue via white to dark
%red.
%
% Nico Sneeuw
% Munich, 31/08/94
if nargin == 0, n = size(get(gcf,'colormap'),1);