代码搜索结果
找到约 8,819 项符合
RGB 的代码
xpprogressbar.ctl
VERSION 5.00
Begin VB.UserControl XPProgressBar
AutoRedraw = -1 'True
ClientHeight = 540
ClientLeft = 0
ClientTop = 0
ClientWidth = 630
Scal
flathslutils.pas
//------------------------------------------------------------------------------
//
// HSL - RGB colour model conversions
//
// These four functions can be used to convert between the RGB and HSL
main.c
/*
***********************************************************************************************
* Exercise on C18 compiler version 2.40; IDE is MPLAB 7.60
* Hardware : PIC18-LF4550-STK1, PIC18LF
23.txt
将真彩色图像变为256色灰度(BIG5码):
将RGB想成3D之X,Y,Z轴,则BMP的RGB为(r,g,b)与座标(Y,Y,Y)距离最小时的Y即为灰阶值
Y = 0.29900 * R + 0.58700 * G + 0.11400 * B
整数化
Y = ( 9798*R + 19235*G + 3735*B) / 32768
RGB(Y, Y, Y)就可以了
需一个内
scomm.cpp
// SCOMM.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "SCOMM.h"
#include "SCOMMDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static
dibconv.c
/*-------------------------------------------------------
DIBCONV.C -- Converts DIBs from one format to another
(c) Charles Petzold, 1998
--------------------------------------
floatcolor.cpp
/////////////////////////////////////////////////////////////////////////////////
//
// FloatColor.cpp: implementation of the CFloatColor class.
#include "stdafx.h"
#include "FloatColor.h"
/
convert.cpp
////////////////////////////////////////////////////////////////////////////
//
//
// Project : VideoNet version 1.1.
// Description : Peer to Peer Video Conferencing over the LAN.
//
convert.cpp
////////////////////////////////////////////////////////////////////////////
//
//
// Project : VideoNet version 1.1.
// Description : Peer to Peer Video Conferencing over the LAN.
//
colorbtn.cpp
// ColorBtn.cpp : implementation file
#include "stdafx.h"
#include "ColorBtn.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// The col