登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

于 2011-12-02 发布 文件大小:1KB
0 235
下载积分: 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 个回复

  • tezhengtiqu
    c++特征提取,提取图像当中的红色灯笼。。。(c++ feature extraction, image extraction among red lanterns)
    2015-04-03 11:25:51下载
    积分:1
  • CV3
    opencv读取一个视频并设置其播放帧率播放速度(use opencv to read a video and change the rate)
    2017-10-30 23:56:11下载
    积分:1
  • ERNSYMNTY
    基于VisualC_和DCMTK的医学DICOM图像显示与调窗,同时在MFC 下完成鼠标拖动进行窗宽/窗位的调节(Medical image of DICOM VisualC_ and DCMTK display and window based on, at the same time in MFC complete the mouse to drag the window width/window regulator )
    2013-08-26 22:03:24下载
    积分:1
  • color_segmentation
    有关彩色图像分割与复杂场景下目标跟踪方法研究的一篇博士论文(On the color image segmentation and complexity of the scene target tracking methods under study for a Ph D thesis)
    2008-08-21 23:44:34下载
    积分: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
  • CSC.EGBIS.JSEG.Meanshift
    经典的4种彩色图像分割方法:CSC.EGBIS.JSEG.Meanshift 的VC++实现;及相关英文文献。绝对值得拥有!哈哈...(The classic four kinds of color image segmentation method: CSC.EGBIS.JSEG.Meanshift of VC++ implementation and the relevant literature in English. Definitely worth having!ha ha ...)
    2010-03-08 17:16:14下载
    积分:1
  • vfxhw2
    图像拼接源码实现,包括多频率图像融合,sift特征点配准算法(Image Stitching source implementation, including multi-frequency image fusion, sift feature points matching algorithm)
    2010-03-16 14:22:04下载
    积分:1
  • DyBMPMovie
    实现“动态”的位图动画,VC++经典编程学习源码,很好的参考资料。(The realization of "dynamic" bitmap animation, VC++ classic learning programming source code, a good reference.)
    2013-11-25 12:37:28下载
    积分:1
  • VCPP-image-processing-chapter09
    VisualC++数字图像处理技术详解第2版-光盘 第九章(VisualC++ digital image processing technology Detailed Version 2- CD Chapter IX)
    2016-04-16 13:59:03下载
    积分:1
  • 1
    说明:  图像处理的位图操作,256色转为灰度图,图像处理入门源程序(Bitmap image processing operations, 256-color to grayscale, image processing, entry-source)
    2010-06-02 21:11:10下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载