登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • ImageDevelop_source
    vc++图像开发的附书光盘,包括众多的实例程序,每个程序都可以是功能完备的工具软件.(visual c++ image develop source code and instances)
    2010-09-25 10:53:59下载
    积分:1
  • PMFFT
    PMF FFT捕获技术性能仿真,分段匹配滤波法和改进算法相比较(FFT PMF capture technology performance simulation, segmented matching filter and improved algorithm comparison)
    2021-03-08 21:29:28下载
    积分:1
  • Canny_My_GPU
    canny边缘检测(自动设置Sigma的高斯平滑+Sobel(原始)+自适应直方图阈值)(canny edge detection (automatically set Sigma Gaussian smoothing+ Sobel (original)+ adaptive histogram threshold))
    2014-10-27 18:19:35下载
    积分:1
  • MARPH
    对图像变形的一些基本算法的介绍和功能的描述等 (about marphing )
    2010-11-17 18:21:25下载
    积分:1
  • DyBMPMovie
    实现“动态”的位图动画,VC++经典编程学习源码,很好的参考资料。(The realization of "dynamic" bitmap animation, VC++ classic learning programming source code, a good reference.)
    2013-11-25 12:37:28下载
    积分:1
  • wylovezbsf
    一个用MFC实现的图象缩放程序,也有测试图片!(MFC with a picture zoom procedures, tests have pictures!)
    2007-01-10 20:47:09下载
    积分:1
  • dicom(vc)
    论解读DICOM医学图像文件及其显示的VC++实施方法 是一份比较新的讨论dicon的vc实现方法的文章(read DICOM medical images and documents show that the implementation of the VC is a relatively new discussion di vc con method of the article)
    2007-06-22 00:20:44下载
    积分:1
  • loci
    实现用帧差法画质心轨迹 高斯背景建模 可以运行的程序 opencv(Picture frame difference method implemented by the loci of Gaussian background modeling)
    2014-05-19 21:27:37下载
    积分:1
  • MeFrm
    说明:  傅立叶变换在图像处理中的重要作用: (A) 图像增强与图像去噪 绝大部分噪音都是图像的高频分量,通过低通滤波器来滤除高频噪声;边缘也是图像的高频分量,可以通过添加高频分量来增强原始图像的边缘; (B) 图像分割与边缘检测 提取图像高频分量 (C) 图像特征提取 形状特征:傅里叶描述子 纹理特征:直接通过傅里叶系数来计算纹理特征 其他特征:将提取的特征值进行傅里叶变换来使特征具有平移、伸缩、旋转不变性 (D ) 图像压缩 可以直接通过傅里叶系数来压缩数据;常用的离散余弦变换是傅立叶变换的实变换; (Fourier transform in the important role of image processing: (A) image enhancement and image denoising Most of all images of high frequency noise by low pass filter to filter out high frequency noise edge is the image of the high frequency components can be enhanced by adding high frequency components to the edge of the original image (B) Image segmentation and edge detection High frequency components extracted image (C) image feature extraction Shape features: Fourier descriptors Texture: directly through the Fourier coefficients to calculate the texture features Other features: The characteristic value extracted by Fourier transform to the characteristics of translation, scaling, rotation invariance (D) image compression Fourier coefficients can be directly compressed data commonly used discrete cosine transform is the Fourier transform of the real transformation 朗读显示对应的拉丁字符的拼音)
    2011-03-28 19:06:27下载
    积分:1
  • 激光三维点云的源码 lastools
    激光三维点云的处理源码,可以压缩点云,配准点云(Three-dimensional laser point cloud processing source code, can be compressed point cloud, point cloud registration)
    2013-09-09 21:13:07下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载