-
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
-
Histogram-equalization
该程序主要用于图像处理中直方图均衡化,语言环境VC++(The program is mainly used for image processing, histogram equalization, the language environment VC++)
- 2012-08-14 15:09:23下载
- 积分: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
-
kmeans
kmeans算法实现,对图像处理。亲自使用过,可用,供参考。(Kmeans algorithm for image processing.)
- 2013-10-17 10:57:41下载
- 积分:1
-
calibration
上传程序为利用vc编写的近景摄影测量程序,包括影像匹配,基本矩阵生成,核显影像生成等等。(Upload the program for the use of close-range photogrammetry vc written procedures, including image matching, basic matrix generation, nuclear generation, and so was the image.)
- 2016-10-06 20:23:51下载
- 积分:1
-
Tsharing_Thieh
实现了Thien在他的文章《secret image sharing》中提出的(r,n)门限秘密图像分存方案。
(Thien in his article " secret image sharing" (r, n) Door Threshold Secret Image Sharing Scheme.)
- 2012-07-26 22:35:42下载
- 积分:1
-
imageprocess
这是本智能图像处理的书教你如何读取BMP图像二值化中值滤波还有灰度变换图像匹配,检索(This is the intelligent image processing book teaches you how to read the BMP image binarization there are gray-scale transformation in the value of the filter image matching, retrieval)
- 2011-05-23 21:23:19下载
- 积分:1
-
mirror
对图像进行镜像处理,是最基本的图像处理操作(Mirror image is the most basic image processing operations
)
- 2012-05-13 20:04:04下载
- 积分:1
-
GetContour
说明: 用于物体目标轮廓的提取与跟踪,能更好的识别出物体轮廓。(Target contour for object extraction and tracking, to better identify the contours of objects.)
- 2010-04-07 09:46:42下载
- 积分:1
-
Grayscaleimagesharpening
灰度图像图像锐化处理,拉普拉斯变换,梯度等(Grayscale image sharpening, Laplace transforms, gradients, etc.)
- 2010-10-25 17:27:54下载
- 积分:1