登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • HIS-RGB
    遥感图像的色彩变换 能从IHS转换到RGB 并能从RGB转换到HIS 效果比较好(Remote sensing images from the IHS color transform to the RGB and the conversion from RGB to HIS conversion effect is better)
    2009-03-13 21:06:43下载
    积分:1
  • ImageProcess
    用mfc编程实现数字图像处理的一些简单操作,只能处理bmp格式图片。调节对比度、亮度、边缘检测等。(Mfc programming with some simple digital image processing operations, can only deal with bmp format images. Adjust contrast, brightness, edge detection.)
    2011-06-28 01:22:34下载
    积分:1
  • Visual.Assist.X.v10.5.1715.0
    本文针对多光谱图像配准中不同光谱图像间存在较大的灰度差异、同一景物在不同波段表现的特征也各不相同等问题,提出了基于互信息相似性测度的多光谱图像配准算法。(In this paper, multi-spectral image registration between different spectral image there is a big difference in gray scale, the same scene in different bands performance characteristics are different questions, we present a similarity measure based on mutual information of multi-spectral image registration algorithm .)
    2010-09-07 11:54:35下载
    积分:1
  • vb6findpcitureSearchPicture
    vb仿大漠屏幕找图,速度极快 屏幕找色点 图像查找visualbasic vb6找图(VB,VB6,VISUAL BASICK ,FIND PICTURE ,QUICK SEARCH IMAGE.SEARCH PICTURE)
    2014-11-05 09:51:32下载
    积分:1
  • tezhengtiqu
    c++特征提取,提取图像当中的红色灯笼。。。(c++ feature extraction, image extraction among red lanterns)
    2015-04-03 11:25:51下载
    积分:1
  • yuan
    生成四副条纹图,进行四步相移,并且进行相位解包裹,并以图片形式输出结果(Generate four fringes, were four-step phase shift and phase unwrapping, and output as a picture)
    2020-12-20 10:59:10下载
    积分:1
  • source_code_TBM_activecontours.tar
    主动轮廓模型结合一个特殊的显著性方法实现目标分割(using active contour with a special salient detction modle to segment an image )
    2014-06-28 10:55:32下载
    积分:1
  • uged
    换热器模型的MATLAB实现,可用于工程计算,还可以用于教学演示(Heat exchanger model of MATLAB and can be used for engineering calculation, and can also be used for teaching demonstration)
    2017-08-13 06:23:33下载
    积分:1
  • gdcm-2.2.0
    医用图像处理程序,处理dicom文件。开源软件,参考dcmtk(dicom process soft)
    2012-04-11 15:17:34下载
    积分: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
  • 696518资源总数
  • 105877会员总数
  • 14今日下载