登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • Image-Processing
    VC++图像程序处理 是由杨淑莹老师编写的 对于计算机视觉 等课程有重要作用 (VC++ image processing program written by Yang Shuying teacher courses for computer vision plays an important role)
    2011-11-07 17:27:35下载
    积分:1
  • yasuoer
    该源程序可以实现BMP图片的压缩(BMP pictures)
    2012-11-21 11:33:15下载
    积分:1
  • 标准测试片库 Standard-test-images
    图像处理标准测试图片库,用于数字图像处理各种仿真实验。(Standard test image gallery image processing to digital image processing all kinds of simulation experiments.)
    2013-04-06 18:36:46下载
    积分:1
  • source
    图像处理系列之边缘检测篇 涵盖内容: 1>Roberts算子 2>Prewitt算子 3>Sobel算子 4>Laplacian算子(Edge Detection)
    2013-04-16 11:14:21下载
    积分:1
  • jiqishijue
    机器视觉,计算机视觉,人脸识别,形态学,图像采集,压缩编码,数字水印,神经网络,人工智能,模式识别,特征提取,图像检索,视频检索,计算机图形学(machine vision, computer vision, face recognition, morphology, image acquisition, compression, digital watermarking, neural network, artificial intelligence, pattern recognition, feature extraction, image retrieval, video retrieval, computer graphics)
    2007-01-02 19:51:30下载
    积分:1
  • Morph
    经典的数字图像处理的形态学处理,包含源代码(Digital image processing morphological processing)
    2012-12-02 18:32:24下载
    积分:1
  • sarMatch
    说明:  基于边缘特征的SAR图像与光学图像匹配,测度为Hausdorff距离(SAR images based on edge features and optical image matching, for the Hausdorff distance measure )
    2020-10-12 09:57:32下载
    积分:1
  • fire1
    用于火焰尖角、圆形度、纹理的测量以及图像颜色、矩阵、边缘直方图的测量(For flame sharp corners, roundness, texture measurements, and image color, matrix, edge histogram measurements)
    2016-10-25 21:06:32下载
    积分:1
  • chessboard
    生成相机标定所用的方格图,用于相机标定使用(Generates the grid chart used to calibrate the camera)
    2017-06-24 10:05:27下载
    积分:1
  • curvelet
    curvelet图像融合,一个很好的程序,对大家应该有帮助(curvelet fusion)
    2020-09-03 11:18:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载