代码搜索结果
找到约 8,819 项符合
RGB 的代码
wrap_itkrgbtoluminanceimagefilter.cmake
WRAP_CLASS("itk::RGBToLuminanceImageFilter" POINTER_WITH_SUPERCLASS)
IF(WRAP_rgb_unsigned_char AND WRAP_unsigned_char)
WRAP_IMAGE_FILTER_TYPES(RGBUC UC)
ENDIF(WRAP_rgb_unsigned_char AND WRA
hsltorgb.c
/*
A Fast HSL-to-RGB Transform
by Ken Fishkin
from "Graphics Gems", Academic Press, 1990
*/
#include
#include
#include "GraphicsGems.h"
/*
* RGB-HSL transforms.
* Ke
untitled5678.m
clc
clear
tic
RGB= imread ('TEST3.jpg'); %读入像
img=rgb2gray(RGB);
[m,n]=size(img);
subplot(2,2,1),imshow(img);title(' 图一 原图像')
subplot(2,2,2),imhist(img);title(' 图二 原图像的灰度直方图')
hold off;
img=d
pattern_show.c
#include "Main.H"
#include "Time_Mode.H"
#include "Pattern_Show.H"
#include "Pitcure.H"
#include "absacc.h"
tByte RGB_Red_H = 0xf8;//0xf0;
tByte RGB_Red_L = 0x00;
tByte RGB_Green_H = 0x0
lcd.h
#ifndef _LCD_H_
#define _LCD_H_
#include
#include "../irq/irq.h"
//16位颜色值类型定义
typedef unsigned short RGB_COLOR;
//RGB5:6:5颜色定义宏
//#define RGB(r, g, b) ( ((r & 0x1f)
watercheap_ps14.psh
ps.1.4
; Get the 3-vector from the normal map
texld r0, t0
; Get environment matrix
texcrd r1.rgb, t1
texcrd r2.rgb, t2
texcrd r3.rgb, t3
; Normalize eye-ray vector through normalizer cube m
composition_mode_lighten.glsl
// Dca' = max(Sca.Da, Dca.Sa) + Sca.(1 - Da) + Dca.(1 - Sa)
// Da' = Sa + Da - Sa.Da
vec4 composite(vec4 src, vec4 dst)
{
vec4 result;
result.rgb = max(src.rgb * dst.a, dst.rgb * src.a) + sr
composition_mode_darken.glsl
// Dca' = min(Sca.Da, Dca.Sa) + Sca.(1 - Da) + Dca.(1 - Sa)
// Da' = Sa + Da - Sa.Da
vec4 composite(vec4 src, vec4 dst)
{
vec4 result;
result.rgb = min(src.rgb * dst.a, dst.rgb * src.a) + sr
statlink.cpp
#include "StdAfx.h"
#include "StatLink.h"
COLORREF CStaticLink::g_colorUnvisited = RGB(0,0,255); // blue
COLORREF CStaticLink::g_colorVisited = RGB(128,0,128); // purple
COLORREF CStati
declar_mod.bas
Attribute VB_Name = "Declar_mod"
Option Explicit
' API Declares:
Public Const BI_RGB = 0&
Public Const DIB_RGB_COLORS = 0
Type RGBQUAD
rgbBlue As Byte
rgbGreen As Byte
rg