-
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
-
Image-fusion--based-on-Matlab
matlab 用于图像融合的论文,有各种算法源代码(papers, matlab for image fusion algorithm source code)
- 2013-03-09 09:22:53下载
- 积分:1
-
opticalflow
改进的聚类光流法,聚类方法有kmeans和DBSCAN,光流法金字塔LK可以用,HS光流法占用内存太多。(Improved clustering optical flow method, clustering method kmeans and DBSCAN, pyramid LK optical flow method can be used, HS optical flow occupy too much memory.)
- 2021-01-07 16:18:53下载
- 积分:1
-
FBG_filter
说明: 用optisystem制作得FBG 滤波器(FBG filter was made with optisystem)
- 2010-04-28 15:19:17下载
- 积分:1
-
segment
基于图割的图像分割的实现代码,在linux下测试通过(efficient graph cut source code,run in linux)
- 2015-08-18 20:27:12下载
- 积分:1
-
PF-Tracking
基于颜色特征向量的粒子滤波跟踪程序,修复了因粒子超过窗口范围出现ERROR的BUG,还包括了一些有助于粒子滤波学习的资料!!(color-based particle filter tracking, some bugs have been fixed, some information about PF Tracking is included too!!)
- 2013-10-26 22:34:33下载
- 积分:1
-
SVM算法
说明: SVM算法的线性分类,图像分类单幅遥感图像特征提取分类(Linear classification of SVM algorithm, image classification, feature extraction and classification of single remote sensing image)
- 2019-07-03 10:34:56下载
- 积分:1
-
小波分析 编程
小波分析的各种尺度分解包括单尺度分解,多尺度分解以及小波包分解及重构,小波分解重构精简(All kinds of scale decomposition of wavelet analysis include single scale decomposition, multi-scale decomposition, wavelet packet decomposition and reconstruction, and wavelet decomposition and reconstruction.)
- 2018-04-11 09:10:51下载
- 积分:1
-
Geometry-distortion-RECOVERY
图像几何校正,把歪斜的图像校正成正视图。。(Perspective correction)
- 2013-05-23 13:26:43下载
- 积分:1
-
hhh
说明: 关于图像处理技术在冬小麦测试中的应用,用VC编的软件能对小麦进行二值化处理,中值滤波和灰度变换。(On image processing technology in the winter wheat test the application of the software made by VC on wheat binarization processing, median filtering and gray-scale transformation.)
- 2008-10-23 22:42:29下载
- 积分:1