-
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
-
7Faceqianqichuli
数字图像处理方面的常用操作
人脸识别
图像打开和保存
类似photoshop操作
(Digital image processing operations commonly used face recognition and preservation of the image to open a similar operation photoshop)
- 2009-01-03 21:02:26下载
- 积分:1
-
wpf做的 简易OA系统源码下载 Sqlce数据库
登录账号 admin 密码 111111 wpf做的 oa系统,用的 sqlce数据库
- 2015-01-24下载
- 积分:1
-
drfi_matlab-master
drfi图像显著性检测算法源码,基本上是目前表现最好的算法,需要m和c混合编程(source code of DRFI model)
- 2020-09-16 10:27:55下载
- 积分:1
-
itethresh
迭代阈值方法进行图象分割的函数,有测试程序和图片(threshold iterative method of image segmentation function, test procedures and Photo)
- 2007-06-09 21:14:47下载
- 积分:1
-
00
说明: image 数组 高速读写 不用指针(image array IO C#)
- 2009-05-07 01:37:17下载
- 积分:1
-
signalwaveletdecomposeandreconstruct
说明: 实现信号的小波分解,绘制小波不同尺度下的信号分解图形,同时去除噪声,实现信号的小波重构(The realization of the wavelet decomposition of signals, mapping at different scales of wavelet signal decomposition graphics, while removing noise, the realization of the signal wavelet reconstruction)
- 2008-09-11 10:18:15下载
- 积分:1
-
DigitalWaterMark
数字图像水印,使用小波变换进行水印的添加和提取。matlab源代码。wm_embed.m嵌入。wm_extract.m提取。(Digital image watermarking, the use of wavelet transform to add and extract the watermark. matlab source code. Embed wm_embed.m. wm_extract.m extraction.)
- 2009-07-06 23:33:40下载
- 积分:1
-
ex
运行程序,得到不同伽马因子给图像的整体明暗程度带来的变化(Run the program to get the change of the overall brightness of the image with different gamma factors)
- 2019-03-18 15:15:54下载
- 积分:1
-
Hough变换圆
一种基于形貌特征识别圆形的方法,通过拟合圆方程来实现的经典hough变换方法(A method of Circle Recognition Based on morphological features is introduced. The classical Hough transform method is implemented by fitting the circle equation.)
- 2018-05-24 15:28:50下载
- 积分:1