-
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
-
sarMatch
说明: 基于边缘特征的SAR图像与光学图像匹配,测度为Hausdorff距离(SAR images based on edge features and optical image matching, for the Hausdorff distance measure )
- 2020-10-12 09:57:32下载
- 积分:1
-
find-error
基于matlab的查找并剔除野值的程序,在信号处理与数据分析方面很好用(matlab find error)
- 2013-03-26 09:33:22下载
- 积分:1
-
circle-detection
这个是我自己编写和修改的圆特征检测的程序,能同时求取多个圆的圆心和半径信息。并且文件中有测试图片,直接运行就可以出结果。(The files can detect multi circles in one image at the same time,circle center and R information can be obtained.)
- 2020-12-22 20:19:13下载
- 积分:1
-
SIFT
SIFT图像配准,已测试比较好用,请大家放心使用(SIFT image registration)
- 2015-05-09 15:19:35下载
- 积分:1
-
mypgm
Library for Otsu Method in image segmentation
- 2013-03-06 01:22:57下载
- 积分:1
-
Video_ShakeProof
利用块匹配稳像算法实现视频去抖动。
主程序入口位于shakeproof.m(shakeproof.m main function.
emba.m exhaustive macro block matching algorithm.
splitmv.m split mv field into backgroud and foreground.
hist2d.m 2d histogram function.)
- 2020-11-10 11:39:45下载
- 积分:1
-
Lab7_1
hit-miss方法下的图像骨架提取,很好用(hit-miss method of image skeleton extraction, very good use)
- 2008-02-26 11:38:39下载
- 积分:1
-
ss2005.11.29
主要用于打开8位、24位BMP图像,并对其进行相应的处理,如:颜色分量提取,检测等(key to open the eight, 24 BMP images, and its corresponding treatment, such as : color component extraction, testing)
- 2007-05-16 10:40:59下载
- 积分:1
-
lvboqi
对图像进行模糊处理前的第一步设计操作,然后进行加强滤波处理(Fuzzy image processing operation prior to the first step in the design and then proceed to strengthen the filter processing)
- 2008-12-29 15:10:12下载
- 积分:1