代码搜索结果
找到约 8,819 项符合
RGB 的代码
new1027.m
%function [t2,kk8,kk9]=napos(na,kk8,kk9)
close all;
clear;
%A2=imread('D:\a实验用\nh1.bmp','bmp');
%figure(9),imshow(A2);
tic;
A0=imread('蒙1.bmp');
A=rgb2gray(A0);%%%% w1/117/a104 qw/126/a15
grayturn.m
im1=imread(filename);
if isgray(im1)==0
im1=rgb2gray(im1);
end
f=im1;
im1=double(im1);
[m n]=size(im1);
for i=1:m
i
for j=1:n
if im1(i,j)
poll.css
body{font-size:9pt;font-family:宋体}
td{font-size:9pt;;font-family:宋体;}
p{font-size:10.5pt}
li{font-size:10.5pt;line-height:30px;}
textarea.smallarea{font-size:9pt;background-color:white;color:rgb(0,0,1
rgbled.c
#include "COMM.h"
#define LED_R TIM4->CCR1
#define LED_G TIM4->CCR3
#define LED_B TIM4->CCR2
//使能RGB LED的输出
//t:0,关闭输出,1,使能输出
void ENRGB(u8 t)
{
if(t)TIM4->CCER=0X0111; //
1039049-
J=imread('sy.jpg');%读入一副图像,命名为J
J1=rgb2gray(J);%把真彩图像J转换为灰度图像J1
figure,imshow(J1);title('sy to gray')%开辟一个窗口显示灰度图像J1
imwrite(J1,'sy.bmp')
rgbled.c
#include "COMM.h"
#define LED_R TIM4->CCR1
#define LED_G TIM4->CCR3
#define LED_B TIM4->CCR2
//使能RGB LED的输出
//t:0,关闭输出,1,使能输出
void ENRGB(u8 t)
{
if(t)TIM4->CCER=0X0111; //
worldvertextransition_micros_editmode.psh
ps.1.1
tex t0 ; mid1
tex t1 ; mid2
tex t2 ; lightmap (optionally modulated by the macro)
tex t3 ; micros
mov_sat r0.rgb, t3 ; r0 = lightmap * macro
mov_sat r0.a, 1-v0
lrp r1, r0.a,
cmap.c
/*
* generated by mkcmap.c
*/
#include
#include
#include
#include
static Memcmap def = {
/* cmap2rgb */ {
0x00,0x00,0x00,0x00,0x00,0x44,0x00,0x00,0x88,0x00,0x00
cmap.c
/*
* generated by mkcmap.c
*/
#include
#include
#include
#include
static Memcmap def = {
/* cmap2rgb */ {
0x00,0x00,0x00,0x00,0x00,0x44,0x00,0x00,0x88,0x00,0x00
cmap.c
/*
* generated by mkcmap.c
*/
#include "u.h"
#include "lib.h"
#include "draw.h"
#include "memdraw.h"
static Memcmap def = {
/* cmap2rgb */ {
0x00,0x00,0x00,0x00,0x00,0x44,0x00,0x00,0x88,0x00,0x00,