代码搜索结果
找到约 8,819 项符合
RGB 的代码
ji_setup.txt
*
* RCSID $Id: ji_setup.txt,v 1.6 1999/04/06 04:54:23 rgb Exp $
*
[Here is JI's setup. This document is OBSOLETE (rgb, May 6, 1998) but is
included for historical purposes and the concepts are still
tif
#!/bin/sh
#
# RCSID $Id: tif,v 1.3 1999/04/06 04:54:36 rgb Exp $
#
# This script is OBSOLETE -- rgb, May 6th, 1998
# forward path
../utils/addrt 10.1.0.0 255.255.0.0 10.3.0.0 255.255.0.0 10.2.0.139
grayscale.fp
!!ARBfp1.0
# grayscale.fp
#
# convert RGB to grayscale
ATTRIB iPrC = fragment.color.primary; # input primary color
OUTPUT oPrC = result.color; # output color
DP3 oPrC.rgb, iPrC
关于肤色分割的matlab源代码.txt
RGB色彩空间转换为Ycbcr色彩空间并进行非线性变换后判别肤色
仅供大家参考!!
%将RGB色彩空间转换为Ycbcr色彩空间
imgrgb3=rgb2ycbcr(imgrgb);
y=imgrgb3(:,:,1);
cb=imgrgb3(:,:,2);
cr=imgrgb3(:,:,3);
%==================================
%在Ycb
makefile
CC=avr-gcc
HOSTCC=gcc
AS=avr-gcc -x assembler-with-cpp
LD=avr-ld
OBJCOPY=avr-objcopy
INCDIR=.
UISPFLAGS=-dprog=stk200 -dlpt=0x3bc
bmp2rgb:
$(HOSTCC) -o bmp2rgb $@.c
clean:
rm -f *.o
rm -f bmp2rgb
composition_mode_exclusion.glsl
// Dca' = (Sca.Da + Dca.Sa - 2.Sca.Dca) + Sca.(1 - Da) + Dca.(1 - Sa)
// Da' = Sa + Da - Sa.Da
vec4 composite(vec4 src, vec4 dst)
{
vec4 result;
result.rgb = (src.rgb * dst.a + dst.rgb * src.
camdef.h
/*****************************************
NAME: Camdef.h
DESC: header file for Imagetest test codes
HISTORY: 2002.03.13:draft ver 0.0
2004.02.09:edited by junon for S3C
radon_t.m
clc;
clear all
tic
Im = imread('dt666.jpg');
I = rgb2gray(Im);
imshow(I)
theta = -20:1:20;
[R,Xp] = radon(I,theta);
% figure (1)
% plot(Xp,R(:,1),'-',Xp,R(:,2),'-.',Xp,R(:,3),'--'
camdef.h
/*****************************************
NAME: Camdef.h
DESC: header file for Imagetest test codes
HISTORY: 2002.03.13:draft ver 0.0
2004.02.09:edited by junon for S3C