-
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
-
06257655
图像仿射匹配的经典文章,适合深度学习仿射匹配的研究生(Image the affine matching the classic article, suitable depth learning graduate affine matching)
- 2013-02-27 14:18:05下载
- 积分:1
-
ctRecontruction
根据CT成像原理得到Sinogram图像,再经过Randon变换以及反向投影算法对物体图线进行复原。(It is a Matlab ToolBox which can solve CT problems or image reconstruction easily and convincely.)
- 2017-10-05 00:42:34下载
- 积分:1
-
HBMA
HBMA为基于块的分级匹配算法,是一种典型的运动估计算法,适用于特征追踪和运动估计(HBMA classification based on block matching algorithm is a typical motion estimation algorithm for feature tracking and motion estimation)
- 2020-10-10 21:57:33下载
- 积分:1
-
FPC_AS_v1.2
压缩感知重构算法--固定点延拓法,用于大规格图像重构处理(Compressed sensing reconstruction algorithm- a fixed point continuation method for large size image reconstruction process)
- 2020-12-20 21:09:08下载
- 积分:1
-
high-resolution-sar
高分辨率及新模式SAR的成像算法,含有圆轨迹快速成像和压缩感知等内容(High resolution and the new mode of SAR imaging algorithm, containing circular trajectory fast imaging and compressed sensing and other content)
- 2013-05-24 10:47:21下载
- 积分:1
-
程序
说明: 图像配准,控制点配准,边缘检测,。。。。。。。。。。。。。。。(image registration, edge detect, hough line detect,)
- 2021-01-23 15:35:48下载
- 积分:1
-
kalmanXYZT.m
卡尔曼滤波(扩展方法)定时定位,自己编写调试。(Kalman filter (extension methods) time positioning, write your own debugging.)
- 2013-10-11 21:38:40下载
- 积分:1
-
heavy-tailed-deconv
一般自然图像的梯度分布符合重尾分布,重尾分布也就是超拉普拉斯分布,根据这个特点进行图像复原。(The gradient of a natural image in line with heavy-tailed distribution, which is ultra-heavy-tailed distribution Laplace distribution, image restoration based on this feature.)
- 2021-03-13 10:39:24下载
- 积分:1
-
TV-L2-Inpainting
经典的ROF模型,可以用于图像去噪,图像分解;TV图像修复(The ROF model can be used for image denoising)
- 2017-06-21 16:21:50下载
- 积分:1