登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • Grid
    基于OpenCV实现的图像切割程序,通过程序中参数设置分块的数量和大小(The project is uesd to break an image into block)
    2013-12-01 22:31:29下载
    积分:1
  • szmhclsf
    这是一个数字模糊处理的算法论文!很好很经典(Number obfuscation algorithms! Good classic)
    2012-05-27 14:56:19下载
    积分:1
  • zi
    说明:  自由曲面光学透镜的图像变换面形测量系统与精度建模(Free-form optical lens image transformation shape measurement system with precision modeling)
    2013-03-07 09:08:13下载
    积分:1
  • Image_mosaicing
    图像拼接:实现两幅具有重叠区域的图像的拼接;使用MFC框架,内有程序使用文档(image mosaicing)
    2010-12-07 14:00:01下载
    积分: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
  • C++.netBMP24bitTo8bit
    此程序实现二十四位BMP到八位BMP图像的转换(this program to 24 BMP eight BMP image conversion)
    2007-04-04 15:20:57下载
    积分:1
  • gaues_
    高斯计算程序,高斯计算程序,高斯计算程序,高斯计算程序,高斯计算程序,高斯计算程序,(Gaussian calculation program, Gaussian calculation program, Gaussian calculation program, Gaussian calculation program, Gaussian calculation program, Gaussian calculation program,)
    2013-04-12 09:47:28下载
    积分:1
  • k_mean_uv
    利用k—mean算法根据U、V进行聚类分块,最后完成图像分割,分割出得块用不同的灰度等级表示出来。(K-mean algorithm to cluster sub-blocks according to the U, V, to finalize the image segmentation, segmentation have blocks with different gray levels represented.)
    2013-01-15 15:05:42下载
    积分:1
  • yj
    说明:  :针对显微图像分析、识别需要的全自动控制显微镜,研究开发其相应的图像处理算法。提 出了能量谱自动聚焦评价函数算法、自适应选取基准图的图像拼接算法、改进 Laplacian算子的多层 聚焦图像叠合算法等。该算法模块已成功地应用于所开发的CMIAS 显微医学图像分析系统中,取得 了满意的应用效果。(【ABSTRACT】For the automatic microscope required by micro-image analysis and recognition, the relevant image processing a lgorithms are investigated. Three algorithms are described: energy-spectrum image auto focusing evaluation function, image merging based on the adaptive selection of standard image and sum-modified-Laplacian (SML) operator for multi-focus image fusion. The algorithms have been applied successfully to CMIAS medical micro-optical image analysis system and testified to be feasible and effective. )
    2009-11-05 10:02:07下载
    积分:1
  • fatigue-driving-system
    基于图像处理的人脸检测系统,通过openCV软件来实现的(Image processing based face detection system, implemented by software openCV)
    2011-11-23 20:31:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载