-
jpg_function
// RGB -> YCbCr
// Y = Coef. for red*Red+Coef. for green*Green+Coef. for blue*Blue
// Cb = (Blue-Y)/(2-2*Coef. for blue)
// Cr = (Red-Y)/(2-2*Coef. for red)
// YCbCr -> RGB
// Red = Cr*(2-2*Coef. for red)+Y
// Green = (Y-Coef. for blue*Blue-Coef. for red*Red)/Coef. for green
// Blue = Cb*(2-2*Coef. for blue)+Y
(// RGB-> YCbCr
// Y = Coef. for red*Red+Coef. for green*Green+Coef. for blue*Blue
// Cb = (Blue-Y)/(2-2*Coef. for blue)
// Cr = (Red-Y)/(2-2*Coef. for red)
// YCbCr-> RGB
// Red = Cr*(2-2*Coef. for red)+Y
// Green = (Y-Coef. for blue*Blue-Coef. for red*Red)/Coef. for green
// Blue = Cb*(2-2*Coef. for blue)+Y
)
- 2008-11-03 16:38:34下载
- 积分:1
-
哈夫曼树
给定n个权值作为n个叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树(Huffman Tree)。哈夫曼树是带权路径长度最短的树,权值较大的结点离根较近。
- 2023-05-22 02:55:04下载
- 积分:1
-
20201003.1.5musicplayer-中断
说明: 一个关于蜂鸣器播放两只老虎的stm32f103c8t6工程(A project about buzzer playing two tigers)
- 2020-10-04 18:27:02下载
- 积分:1
-
zuma3
祖玛3lua脚本源码,手机脚本,适于新手引鉴学习,测试请使用触摸精灵(Zuma 3lua script source code, phone script, suitable for novice cited Kam learning, testing, use touch wizard)
- 2013-09-03 19:28:05下载
- 积分:1
-
基于Cocox2DX的安卓游戏--板球
本安卓游戏是基于Cocox2DX游戏引擎的安卓游戏,是由C++语言编写,这里面又可以直接下载到手机里运行的apk文件,又有可以在电脑端看的源文件,十分方便初学者对Cocos2DX引擎的学习
- 2022-01-25 18:45:18下载
- 积分:1
-
模型设计首先项目 c#
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -Â
- 2022-03-15 22:46:31下载
- 积分:1
-
DisplayLCD1602_74LS164
说明: LCD1602和74LS164的电路图,还有完全的C语言代码,附加上了仿真原文件。(LCD1602 and the 74LS164 in the schematics, as well as the complete C language code, additional on the simulation of the original document.)
- 2011-02-24 21:21:50下载
- 积分:1
-
ISD1700
基于STM32单片机,采用ISD1700系列语音芯片,通过单片机控制ISD1700系列芯片进行录放音。(STM32 MCU, ISD1700 speech chip, through single chip microcomputer ISD1700 series of recording.)
- 2020-07-02 20:40:01下载
- 积分:1
-
4.LCD1602
说明: 单片机小车的lcd1602的功能模块的调节,希望大家好用。(SCM car lcd1602 function module adjustment, I hope we use.)
- 2020-06-15 23:20:01下载
- 积分:1
-
HuffmanTree
用c++实现的haffman tree 小程序,仅供参考 。 (The the haffman tree applet realized with c++ for reference only.)
- 2013-03-14 16:38:15下载
- 积分:1