代码搜索结果
找到约 5,749 项符合
RGB 的代码
const.h
#if !defined(CONST_H)
#define CONST_H
#include "math.h"
#define ONE_ROBOT
#define round(x) ( (int) (x + 0.5) )
#define sqr(x) ( x * x )
#define PI 3.1415926535
static CBrush CYAN(RGB(
const.h
#if !defined(CONST_H)
#define CONST_H
#include "math.h"
#define ONE_ROBOT
#define round(x) ( (int) (x + 0.5) )
#define sqr(x) ( x * x )
#define PI 3.1415926535
static CBrush CYAN(RGB(
sinc_h.spl
[Inputs]
clk
pixel
color
bla
[Outputs]
end_l
hs
=rgb[5:0]=
[BiDir]
=dot1[9:0]=
generale.ucf
NET "clk88" LOC = "p88";
NET "hs" LOC = "p23";
NET "vs" LOC = "p26";
NET "rgb" LOC = "p12";
NET "rgb" LOC = "p13";
NET "rgb" LOC = "p19";
NET "rgb" LOC = "p20";
NET "rgb" LOC = "
rgb2ycbcr.m
function ycbcr = rgb2ycbcr(varargin)
%RGB2YCBCR Convert RGB color values to YCbCr color space.
% YCBCRMAP = RGB2YCBCR(MAP) converts the RGB values in MAP to the YCBCR
% color space. MAP must be a
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
sumarize11_5_4b.m
%载入图像
RGB = imread('saturn.png');
%RGB转换为灰度图
I = rgb2gray(RGB);
%加入高斯白噪声
J = imnoise(I,'gaussian',0,0.005);
%采用自适应滤波
K = wiener2(J,[5 5]);
%显示原始图像、加入噪声的图像以及滤波后的噪声
imshow(I)
figure,imshow(J)
sumarize11_2_2cl.m
RGB = imread('saturn.png');
I = rgb2gray(RGB);
h = [1 2 1; 0 0 0; -1 -2 -1];
I2 = filter2(h,I);
imshow(I2,[]), colorbar
sumarize11_6_3.m
%载入图像
load trees
%RGB转换为灰度图
I = ind2gray(X,map);
imshow(I)
%指定特定区域,并进行填充
I2 = roifill;
imshow(I2)
sumarize11_4_2ars.m
%载入图像
RGB = imread('autumn.tif');
figure(1);
imshow(RGB);
%将真彩图转换为灰度图
I = rgb2gray(RGB);
figure(2);
imshow(I);
%进行余弦变换
J = dct2(I);
figure(3);
imshow(log(abs(J)),[]);
colormap(jet(64));
c