-
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
-
Digital-Image-Processing
这是一个数字图像处理常用的功能的集成软件,用VC++ 编写,可以对图像进行一些常见的操作,也可以自己扩展功能(This is a common feature of digital image processing integrated software, images can perform basic operations)
- 2014-01-13 19:09:57下载
- 积分:1
-
LSM_Match_2010-5-1
说明: 最二小乘影像匹配,精度可以达到0.01个像素,也可以最二小乘影像模板匹配。经过修改后可以直接用,只要调用一个函数就搞定,函数参数的说明很清楚,绝对不会有任何困难,非常好用。(Most two Theravada image matching accuracy can reach 0.01 pixel images can also be the most two Theravada template matching. After modifications can be directly used, as long as is you call a function, function parameters, the description is clear and will not have any difficulties, very easy to use.)
- 2010-04-30 16:42:22下载
- 积分:1
-
GLCM-implement
实现了灰度共生矩阵,并应用到了几张图片上。 C++ 和OPENCV 代码。 图像处理(GLCM achieved and applied to a few pictures. C++ and OPENCV code. Image Processing)
- 2011-01-26 02:35:22下载
- 积分:1
-
基于opencv的Kinect深度图像的去噪,滤波
基于opencv的Kinect深度图像的去噪,滤波(Opencv based Kinect depth image denoising, filtering)
- 2021-03-23 08:59:15下载
- 积分:1
-
Camdemo
Camshift算法,即"Continuously Adaptive Mean-Shift"算法,是一种自适应的运动跟踪算法。它主要通过视频图像中运动物体的颜色信息来达到跟踪目的。(Camshift algorithm, namely " Continuously Adaptive Mean-Shift" algorithm is an adaptive motion tracking algorithm. It is primarily the color information of the object' s movement through the video images to achieve tracking purposes.)
- 2014-01-11 19:45:29下载
- 积分:1
-
ChaosImageCode
一个用VC编的混沌图像加密程序,演示了如何读写图像,如何用混沌算法加密解密。(a program for encrypting image by chaos algorithm,based on VC.)
- 2017-11-03 09:36:54下载
- 积分:1
-
optimark_manual
水印攻击测试程序optimark。
这个比stirmark更全面测试水印程序,很好用(Watermark attack test program optimark. This more comprehensive test than stirmark watermark program, very good use)
- 2009-11-12 11:19:47下载
- 积分:1
-
145
一个很好类子来说明类模板的使用,可以比较明了类模板的使用方法,最好进行单步调试(use of class template )
- 2013-08-30 17:17:58下载
- 积分:1
-
RayTracer
VB像素光影跟踪(图像渲染)工具,有需要的就下载吧。(VB Tracking pixel lighting (image rendering) tools, there is a need to download it.)
- 2013-08-04 15:09:52下载
- 积分:1