代码搜索结果
找到约 8,819 项符合
RGB 的代码
vpc323xd_tables.h
typedef enum {vpc_nolocation, vpc_fp, vpc_i2c_8bit, vpc_i2c_16bit } VPC_REG_LOC;
typedef struct tagVPC_CMD {
VPC_REG_LOC regLoc;
RMuint16 data1;
RMuint16 data2;
} VPC_CMD;
// component in = rgb
rgbpwm.c
/* RGB PWM Channels */
int led1Dir[3] = { -1,1,-1 };
int led2Dir[3] = { 1,-1,-1 };
int led3Dir[3] = { -1,1,1 };
unsigned char led1Duty[3] = { 100,20,100 };
unsigned char led2Duty[3] = { 10,130,
otsu.txt
function y1=OTSU(image,th_set)
%a2=imread('h:\001.jpg');
gray=rgb2gray(image);%原图像的灰度图
low_high=stretchlim(gray);%增强图像,似乎也不是一定需要
gray=imadjust(gray,low_high,[]);
% subplot(224);imshow(gray);t
projestandartsapma.m
clc; clear all; close all;
base_image= imread('projlab1.jpg');
base_image1=rgb2gray(base_image);
base_image1=base_image1(5:115,5:171);
base_image2=double(base_image1);
base_image3 = imread('p
volkan2imge.m
clc; clear all; close all;
base_image= imread('projlab1.jpg');
base_image1=rgb2gray(base_image);
base_image2=double(base_image1);
% base_image2=base_image2(5:115,5:171);
base_image3 = imread('p
volkankesilmis.m
clc; clear all; close all;
base_image= imread('projlab1.jpg');
base_image1=rgb2gray(base_image);
base_image1=base_image1(5:115,5:171);
base_image2=double(base_image1);
base_image3 = imread('p
s075.m
% 灰度图像水平方向锐化 s075
I75=imread('3.jpg');
I750=rgb2gray(I75);
h1=[1 0 -1;1 0 -1;1 0 -1];;
I751=imfilter(I750,h1);
imshow(I751)
s090.m
% 灰度图像二维离散余弦变换幅度谱伪彩色显示 s090
I90=imread('2.jpg');
I900=rgb2gray(I90);
I901=dct2(I900);
imshow(log(abs(I901)),[]),colormap(jet(64))
s102.m
% 灰度图像空域函数变换伪彩色显示 s102
clear;
I103=imread('2.jpg');
Gray=rgb2gray(I103);
F=im2double(Gray);
[m,n]=size(F);
for i=1:m
for j=1:n
if F(i,j)
hough1.m
% Hough 变换
i=imread('d:\test.bmp');
i=rgb2gray(i);
i_long =size(i,1);
i_width=size(i,2);
i_edge=edge(i,'robert');
i_hough=zeros(300,300);
theta_step=3.14*2/299;
theta=0:theta_step:2*3.14;
x