登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

于 2011-12-02 发布 文件大小:1KB
0 304
下载积分: 1 下载次数: 7

代码说明:

  rgb to HSV,很有用,调试成功,可以应用(rgb to HSV,#include "stdafx.h" #include 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)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2DFFT-IFFT
    这是我做的一个二维傅里叶变换的程序,可以对图像进行2DFFT变换得到频谱图,并利用2DIFFT得到原图像(I do a two-dimensional Fourier transform procedure, 2DFFT transform spectrogram image and utilize 2DIFFT original image)
    2012-12-01 15:56:14下载
    积分:1
  • FBP
    N年前上数字图像课时写的实验报告和程序,用滤波反投影(Filter Back Project,FBP)法重建图像。(Report and source code for data image restore experiment, using FBP.)
    2013-08-23 00:08:28下载
    积分:1
  • bmpstartv1
    我自己做的一个bmp文件进行24位真彩转256灰度和二进制的程序,并能用sobel算法,识别物体的边界。 (I myself make a bmp file for 24-bit true color to 256 gray-scale and binary procedures and sobel algorithm can be used to identify object boundaries.)
    2008-02-18 03:14:39下载
    积分:1
  • IPLib2.0
    一套基于VC++的遥感影象处理系统,可以实现空间域,频率域以及光谱的处理(yi tao ji yu VC++ de yaohan yingxiang chuli xitong)
    2021-01-05 09:48:54下载
    积分:1
  • the-Algorithm-of-fire-detection
    推荐火灾检测的参考文献,有火焰多个特征提取的算法。(the article is about how to detect fire,using many algorithms to get the features of fire.)
    2013-03-26 15:01:04下载
    积分:1
  • Houghtranslate
    这个是图像处理中的hough变换的C++源代码,工需要的同学参考学习。(This is the image processing hough transform C++ source code, engineering students need to learn.)
    2013-09-07 00:28:11下载
    积分:1
  • Digital-image-processing
    (2001何斌+光盘)Visual c++数字图像处理(第二版),使用VC进行数字图像处理的相关资料,十分实用!((2001 Bin+ disc the) Visual c++ digital image processing (second edition), digital image processing using VC, very practical!)
    2012-11-20 20:24:04下载
    积分:1
  • ImageZoom
    利用VTK实现图像的放大缩小,基于对话框编写的,有助于学习VTK的朋友(Using VTK to achieve the image to zoom in, based on the dialog box, prepared to help a friend learn VTK)
    2009-11-24 16:22:21下载
    积分:1
  • chaffresearchechnology
    箔条干扰的特性与雷达抗箔条技术研究,对雷达制导导引头的干扰技术进行系统研究(Characteristics of the anti-radar chaff and chaff research technology, the interference radar guidance seeker system research)
    2015-07-14 01:08:07下载
    积分:1
  • HOG+SVM进行图片中行人检测
    说明:  行人检测HOG+SVM进行图片中行人检测,提供训练用的pos和neg样本,效果还可以;没有SVM工具箱的,压缩包里已经提供了,安装一下即可(Pedestrian detection HOG + SVM for pedestrian detection in pictures, providing POS and neg samples for training, the effect is good; without SVM toolbox, the compression package has been provided, just install it.)
    2020-10-30 16:09:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载