登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • 1235
    主要是用于雷达目标跟踪中的数据融合,有很好的作用(It is mainly used for data fusion in radar target tracking.)
    2021-04-27 03:58:44下载
    积分:1
  • katsevich
    螺旋轨迹重建的一种实现方法,是解析算法的典型案例(An implementation method of spiral trajectory reconstruction is an analytical algorithm)
    2021-04-20 17:28:50下载
    积分:1
  • eye-gaze-estimation
    文中主要研究使用普通的摄像头进行人眼视线方向的估计。在综合介绍了各种人眼视线检测方法的基础上提出了一种新的图像处理的方法来检测人眼视线方向(The main study used an ordinary camera line of sight of the human eye is estimated. In the consolidated a variety of the human eye sight detection method based on a new image processing method to detect the line of sight of the human eye)
    2012-07-10 21:37:32下载
    积分:1
  • yepian
    为了研究植物的生长规律,应用数字摄影图像处理法对山楂叶面积进行无损测量,该方法采用数码相机在田间获取山楂叶子的数字图像,对所拍图像进行背景去除、二值化及中值滤波处理,然后利用Matlab软件编程.快速计算出叶子的面积。把这一面积同常用的叶纸称重法所测面积进行比较.结果基本相同,由此可见,数字摄影图像法测量叶面积,具有简单、准确、方便快捷的特点.这对数字农业的植物信息快速采集和利用具有重要的意义。 ( In order to study the growth pattern of plants, the application of digital photography and image processing method for nondestructive measurement of hawthorn leaf area, this method using a digital camera to obtain digital images of hawthorn leaves in the field, on the film image background removal, binarization and medianfiltered, and then using the Matlab software programming. Quickly calculate the area of the leaves. This area with the common leaf paper weighing measured by the area to compare. The results are basically the same, shows, digital photographic images method to measure leaf area, with a simple, accurate, and convenient features. This rapid acquisition and use of digital agricultural plant is of great significance. In order to study the growth pattern of plants, the application of digital photography and image processing method for nondestructive measurement of hawthorn leaf area, this method using a digital camera to obtain digital images of )
    2012-02-19 11:20:50下载
    积分:1
  • VBzRGB
    本应用可以将RGB颜色转换为VB专用的十六进制代码或WEB专用的十六进制代码,包含代码和已编译的EXE文件。(This application can convert RGB color to VB for hexadecimal code or WEB for hexadecimal code, contain code and the compiled EXE file. )
    2015-08-23 19:55:27下载
    积分:1
  • Wave-equation-forward-modeling
    1、参数初始化; 2、形成边界削波数据; 3、波场初始化; 4、Zmax层波场延拓到深度Zmax-1; 5、Zi+1层波场延拓到深度Zi; 6、重复5,从Iz Nz-1开始,直到Iz 1,得测线上的频率—空间域波场; 7、频率-空间域波场对频率做反傅里叶变换,得时间-空间波场; (1, parameter initialization 2, the formation of boundary clipping data 3, wave field initialization 4, Zmax layer wave field extended to the depth of Zmax-1 5, Zi+1 layer wave field extended to the depth of Zi 6, repeat 5, starting Iz Nz-1 until Iz 1, the frequency of the test line- spatial domain wave field 7, frequency space domain wave field to frequency inverse Fourier transform, time- space field )
    2021-03-07 16:59:29下载
    积分:1
  • duoyundongmubiao
    图像处理程序中图像处理多运动目标程序,完整程序。下载就能用(Image processing program, image processing of multiple moving targets program, complete the program. Download will be able to use)
    2012-02-28 14:00:10下载
    积分:1
  • DoG
    DOG检测算子,能够构造高斯尺度空间,并检测其中的极值,从而得到有价值的特征点位置(DOG detection operator, the Gaussian scale space can be constructed, and tested one of the extremes, resulting in valuable feature position)
    2021-03-27 22:39:12下载
    积分:1
  • CUDA_image-denoising
    用CUDA并行处理方法改写的图像降噪算法,包括KNN,NLM,以及改进的NLM方法。配置环境适合VS2010+CUDA5.0,对使用CUDA的同学来说是很好的教材。(Image denoising algorithms including KNN,NLM and refined NLM run on CUDA, useful demo for who learns CUDA based parallel programming.)
    2014-09-15 20:55:52下载
    积分:1
  • zhifangtu
    显示BMP图片,并绘制直方图。程序无误,可运行。(Display BMP image, and draw the histogram. Program is correct, you can run.)
    2011-05-17 08:49:37下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载