-
drawing-board
用VS2012和open cv2.47编写的一个简单画图板程序,可以像画图板一样用鼠标画任意图形(Using VS2012 and open cv2.47 drawing board to write a simple program, you can use the mouse as the drawing board, like any graphic painting)
- 2014-10-14 13:19:15下载
- 积分:1
-
kemodel
一个对Fluent中k-e湍流模型的修正udf程序,c语言(One pair ke turbulence model in Fluent udf amendment procedures)
- 2021-01-02 15:38:57下载
- 积分:1
-
12324355
模拟飞机飞行的源程序(simulated flight of the source)
- 2004-12-18 13:15:55下载
- 积分:1
-
SimilarQQChat
局域网内实现类似QQ聊天,可以设置用户头像,实现客户端之间的聊天通信(The local area network to achieve similar QQ chat,You can set the user s head, chat communication between clients
)
- 2013-11-20 10:25:43下载
- 积分:1
-
Necessary-60-matlab-code
~~~~~~~为初级学者使用的遗传算法~~~~~~~~~~~~(Genetic Algorithms for Primary learner)
- 2012-04-29 15:19:46下载
- 积分:1
-
Haffman
将一组数组转换为哈夫曼编码,使用数据结构中的二叉树功能实现(Convert an array to Haffman code)
- 2016-01-30 14:56:20下载
- 积分:1
-
Key-Finder
Key finder for windows....
- 2013-09-09 12:29:38下载
- 积分:1
-
RS232_485multi-design
485多机通讯的连接方式,主要有总线方式、星形方式等(connection of multi pc communication with 485)
- 2010-03-03 15:03:27下载
- 积分:1
-
VCRunWithmatlab
详细讲述了,matlab与VC++6.0的混合编程(Described in detail, matlab mixed with VC++6.0 programming)
- 2011-12-02 09:10:12下载
- 积分:1
-
chenggongchengxu
rgb to HSV,很有用,调试成功,可以应用(rgb to HSV,#include "stdafx.h"
#include <iostream.h>
void main(float R, float G, float B, float& H, float& S, float&V)
{
// r,g,b values are from 0 to 1
// h = [0,360], s = [0,1], v = [0,1]
// if s == 0, then h =-1 (undefined)
float min, max, delta,tmp
tmp = R>G?G:R
min = tmp>B?B:tmp
tmp = R>G?R:G
max = tmp>B?tmp:B
V = max // v
delta = max- min
if( max != 0 )
S = delta/max // s
else
{
// r = g = b = 0 // s = 0, v is undefined
S = 0
H = 0
return
}
if (delta == 0){
H = 0
return
}
else if(R == max){
if (G >= B)
H = (G- B)/delta // between yellow & magenta
else
H = (G- B)/delta+ 6
}
else if( G == max )
H = 2+ ( B- R )/delta // between cyan & yellow
else if (B == ma)
- 2011-12-02 10:09:24下载
- 积分:1