登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • VBfudiao-
    程序可以实现BMP图片特效处理,包括浮雕效果(bmp picture)
    2012-11-21 11:39:03下载
    积分:1
  • Match
    匹配算法,可以完美运行,对于初学者有着很好的参考价值(Matching algorithm, can be a perfect run, has a very good reference for beginners)
    2013-12-13 23:14:37下载
    积分:1
  • PM
    说明:  Perona和Malik在热传导方程的基础上,建立了各向异性扩散方程并将其应用到了图像处理中尺度空间的图像平滑上,该模型针对图像的边缘部分和非边缘部分进行不同性质的图像处理,同时解算方程的迭代格式简单,克服传统滤波的主要缺陷,是图像质量大为改善,为图像的边缘检测和增强开辟了新的方向。(This process smoothes regions while preserving, and enhancing, the contrast at sharp intensity gradients.)
    2011-07-04 21:30:44下载
    积分:1
  • liver_ultr
    Abstract—Noninvasive ultrasound imaging of carotid plaques allows for the development of plaque-image analysis methods associated with the risk of stroke. This paper presents several plaqueimage analysis methods that have been developed over the past years. The paper begins with a review of clinical methods for visual classification that have led to standardized methods for image acquisition, describes methods for image segmentation and denoizing, and provides an overview of the several texture-feature extraction and classification methods that have been applied. We provide a summary of emerging trends in 3-D imaging methods and plaque-motion analysis. Finally, we provide a discussion of the emerging trends and future directions in our concluding remarks.
    2013-10-28 12:36:04下载
    积分:1
  • opencv249SIFT
    opencv SIFT源码详细分析,代码能够准确实现(opencv SIFT detailed analysis of the source code can achieve accurate)
    2015-07-13 20:33:10下载
    积分:1
  • VB_Main
    说明:  视频动态报警开发,动态处理视频轨迹(Dynamic development of video alarm, dynamic video trajectory treatment)
    2008-10-17 08:31:19下载
    积分:1
  • Bppeizhuna
    基于互信息的图像配准源代码,,采用粒子群优化算法可直接使用。 (Based on mutual information image registration source code, using particle swarm optimization algorithm can be used directly.)
    2012-07-19 09:58:24下载
    积分:1
  • FBP
    CT(computer tomography )图像重建算法,FBP,是目前商用CT的主流重建算法(computer tomography reconstruction algrithm)
    2020-09-05 04:38:06下载
    积分:1
  • Qt_Opengl
    基本图元绘制、计算机图形学上机实验报告、1,熟悉图形软件开发工具:VC++, OpenGL等; 2,设计、实现线段的DDA、Bresenham算法 3,设计、实现中点圆、中点椭圆生成算法; 4,设计、实现填充图元生成算法;(The basic primitive computer graphics, computer lab report 1, familiar with the graphics software development tools: vc++, OpenGL, etc. 2, design implementation DDA Bresenham algorithm of line 3, midpoint circle midpoint elliptical generation algorithm design implementation 4, primitive design to realize filling generation algorithm)
    2020-09-10 13:08:00下载
    积分:1
  • fenlei
    分类程序的实现,可在vc++平台中运行,方便大家对算法的熟悉与学习(Classification procedures to achieve, can be run in vc++ platform to facilitate learning of the algorithm are familiar with)
    2013-07-11 21:16:09下载
    积分:1
  • 696518资源总数
  • 104932会员总数
  • 12今日下载