代码搜索结果
找到约 8,819 项符合
RGB 的代码
p0801.m
%I=imread('24-1.jpg'); 该图像的试验结果读者自行试验。
I=imread('22-2.jpg');
tic
[y,x,z]=size(I);
myI=double(I);
%%%%%%%%%%% RGB to HSI %%%%%%%%
HS_I=(myI(:,:,1)+myI(:,:,2)+myI(:,:,3))/3;
t1=toc
tic
1039049-
clear all;
%读入载体图像
cover_image=imread('yt.bmp');
%读入水印图像
water_image=imread('sy.bmp');
%water_image=rgb2gray(I);
%imwrite(water_image,'sy2.bmp');
water=double(water_image);
water=round(wa
modulate_ps11.psh
ps.1.1
; c0 is grey or white depending on if this is mod2x or not.
tex t0 ; base color
mul_sat r0.rgba, t0, v0
lrp r0.rgb, r0.a, r0, c0
alloc.c
#include
#include
#include
#include
#include "xmem.h"
/* perfect approximation to NTSC = .299r+.587g+.114b when 0 ≤ r,g,b < 256 */
#define RGB2K(r,g,b) ((156763*(r
bicubic.dat
type pixel byte
type bicubic {int pixel int ptr [4][4][4]int ptr ptr}
type bicubic_object {int int ptr ptr}
var pixel colour 0xe0
var int texture_size 8
var ptr texture data/rgb8/mill.pic
va
nm-reg.txt
NM2160 Register GUESS
--- Overlay and ZV capture ---
2002,2.3.
1. Overlay
GRB0 bit5 Format; 0:YUY2/1:RGB
bit1 1
bit0 Enable overlay ; 1:enable/0:disable
GRB1 bit7
nm-reg.txt
NM2160 Register GUESS
--- Overlay and ZV capture ---
2002,2.3.
1. Overlay
GRB0 bit5 Format; 0:YUY2/1:RGB
bit1 1
bit0 Enable overlay ; 1:enable/0:disable
GRB1 bit7
lcd_lph8923.h
#ifndef __LCD_LPH8923_H
#define __LCD_LPH8923_H
enum lcd_lph8923_test_num {
LCD_LPH8923_TEST_RGB_LINES,
};
enum lcd_lph8923_test_result {
LCD_LPH8923_TEST_SUCCESS,
LCD_LPH8923_TEST_INVALID,
LCD_
colors.h
#include "colors_yuv422.h"
#include "colors_rgb888.h"
#define GET_R(col) ((col>>16)&0xFF)
#define GET_G(col) ((col>> 8)&0xFF)
#define GET_B(col) ((col )&0xFF)
#ifdef YUV
#define Black YUV_
nm-reg.txt
NM2160 Register GUESS
--- Overlay and ZV capture ---
2002,2.3.
1. Overlay
GRB0 bit5 Format; 0:YUY2/1:RGB
bit1 1
bit0 Enable overlay ; 1:enable/0:disable
GRB1 bit7