代码搜索结果
找到约 5,749 项符合
RGB 的代码
texttool.h
#ifndef __TEXTTOOL
#define __TEXTTOOL
#define TEXT_BOTTOM_RIGHT 0
#define TEXT_BOTTOM_CENTER 1
#define TEXT_CENTER 2
#define TEXT_USER 3
#define TC_BLACK RGB(0,0,0)
#define TC_BLUE RGB(0,0,
findenergy.m
function Emean=findEnergy(x)
% FINDENERGY creates an gradient img from a given RGB or grayscale image.
% The vertical and horizontal gradients are found using a Sobel operator
% and the gradient ma
输入rgb颜色值背景色改变_.htm
标题页
function showRGB(f)
{
//获取用户输入的RGB值
red = f.red.value;
green = f.green.value;
blue =
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');
%转换为索引图
listing13-20_polish.css_designingstringlistitem
colors {
bgColor: rgb( 132, 143, 96 );
highlightedBgColor: rgb( 238, 241, 229 );
highlightedFontColor: rgb( 238, 241, 229 );
fontColor: rgb( 30, 85, 86 );
}
.winnerStringListStyle {
font
listing12-26_polish.css_colors
/* you can define colors in different ways */
.myStyle {
/* the name of the color */
font-color: white;
/* an rgb hex value */
border-color: #80FF80;
/* a short rgb-hex-value - this
epson.h
#ifndef __EPSON_H__
#define __EPSON_H__
#define fArial8 1
#define fArial11 0
#define BLACK RGB(0x00, 0x00, 0x00) // f黵 8 Bit Farben R,G,B 3,3,2
7-1.m
%例程7-1 噪声图像维纳滤波
% e.g.7-1.m for example7-1;
%test the function of weina filter.
RGB = imread('saturn.png');
I = rgb2gray(RGB);
J = imnoise(I,'gaussian',0,0.005);
figure, imshow(J);
K = wien
lcd_write_data.c
#include "system.h"
#include "altera_avalon_pio_regs.h"
#include "alt_types.h"
#include "LCD.h"
//RGB(31):RS
//RGB(30):CS
//RGB(29):WR
//RGB(28):RD
//RGB(27):RESET
int LCD_WRITE_DAT