代码搜索结果
找到约 8,819 项符合
RGB 的代码
sepia.fp
!!ARBfp1.0
# sepia.fp
#
# convert RGB to sepia tone
ATTRIB iPrC = fragment.color.primary; # input primary color
OUTPUT oPrC = result.color; # output color
TEMP gray;
DP3 gra
sumarize11_6_3.m
%载入图像
load trees
%RGB转换为灰度图
I = ind2gray(X,map);
imshow(I)
%指定特定区域,并进行填充
I2 = roifill;
imshow(I2)
tif
#!/bin/sh
#
# RCSID $Id: tif,v 1.4 2002/04/24 07:36:18 mcr 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
cat_scrambling.m
%%%%%%%%%%%%%% anold cat 映射 %%%%%%%%%%%%%%%%%%%%%
%% 图像是N * N 的灰度图像
originimage=imread('50.bmp'); %%%%%%%%一定是方阵
origin=rgb2gray(originimage);
temp=origin;
figure,imshow(origin)
n=length
box.h
#ifndef _BOX__
#define _BOX__
class CBox
{
public:
// CBox();
CBox(COLORREF color=RGB(0xFF, 0, 0));
virtual ~CBox();
void Reset();
void Draw(HDC hDC,RECT Rect);
void SetColor(COLORR
vga_controller.v
//Slightly modified from the DE2 default design example
//
module VGA_Controller( // Host Side
iCursor_RGB_EN,
iCursor_X,
iCursor_Y,
iCursor_R,
iCursor_G,
i
hsv.c
#define mid( a, b, c ) \
( a >= b && a = a && b
text.cpp
#include "StdAfx.h"
#include "text.h"
CText::CText()
{
m_hFont = NULL;
m_hFontDC = NULL;
m_pBuffer = CDisplay::Instance()->GetEngineBuffer();
m_pTextBuffer = NULL;
m_dwColor = RGB(
dcrgb1.m
function res = rgb1(n)
% - utility program for selecting plot colors
while (n>10)
n = n - 10;
end
% build cell-array of colors to choose from:
colors{1} = [0 0 1]; % blue
col
filler.cpp
#include "Stdafx.h"
#include "Filler.h"
// CFiller - Implementation
CFiller::CFiller()
{
m_csText = _T("");
m_nMinVal = 0;
m_nMaxVal = 100;
m_nPos = 0;
m_FillerColor = RGB(