登录
首页 » Visual C++ » chenggongchengxu

chenggongchengxu

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

  • shrink
    利用opencv工具包的图像缩小程序利用opencv工具包的图像缩小程序利用opencv工具包的图像缩小程序(image shrink with opencv image shrink with opencv image shrink with opencv)
    2010-01-18 11:06:40下载
    积分:1
  • MARPH
    对图像变形的一些基本算法的介绍和功能的描述等 (about marphing )
    2010-11-17 18:21:25下载
    积分:1
  • GetLunKuo
    说明:  能精确的提取数字图像的轮廓。不管图形的形状如何,都能达到预期的效果。并且能将边界的坐标输出到一个文件中,供使用者分析数据。(Able to extract precise contours of the digital image. Regardless of the shape of how graphics can achieve the desired effects. The coordinates of the border and is capable of output to a file, for users to analyze data.)
    2008-12-03 13:31:51下载
    积分:1
  • jpeg2k
    说明:  JPEG2000 的一个实现,期中,wavelet.dll是提供的功能接口。(An implementation of JPEG2000, period, wavelet.dll is to provide a functional interface.)
    2010-05-04 17:00:01下载
    积分:1
  • codes
    红外与可见光实时融合算法 ------------------------------------ 若不能读取xvid视频,请安装XviD-1.1.3-28062007.exe。 ----------------------------------- 请双击*.bat文件看程序运行结果。 也可以在命令行下,输入“evs3 参数文件.xml 配准.xml”,以融合指定的多源视频图像。 ---------------------------------- 首先,离线地时空配准多源视频,并保存结果到xml文件。然后融合配准后的图像。融合过程是,通过分解图像为Laplacian金字塔,分别对图像的高频和低频按照规则合并,最后将Laplacian金字塔重新组合为图像。(Real time fusion algorithm for infrared and visible light------------------------------------If you cannot read XviD video, please install XviD-1.1.3-28062007.exe.-----------------------------------Double-click the*.bat file to see the program running results.Can also be in the command line, " evs3 input parameter file .Xml .Xml registration ", by the fusion of the specified source video image.----------------------------------First of all, offline space-time registration source video, and save the results to a XML file. After registration and fusion image. Through the decomposition of the image fusion process, Laplacian Pyramid, were on the high-frequency and low frequency image in accordance with the rules of the merger, Laplacian Pyramid reassembled for image.)
    2013-01-09 14:42:39下载
    积分:1
  • ImageProcess
    c#写的图像处理程序框架,包括打开图片、保存、关闭等功能。图像处理包括图像增强里用到的灰度化、亮度增强、线性非线性平滑、一阶二阶锐化等。(c# write image-processing program framework, including open images, save, close and other functions. Image processing including image enhancement is used inside the gray-oriented, brightness increased, the linear non-linear smoothing, sharpening and so on a first-order second-order.)
    2009-10-22 10:19:21下载
    积分:1
  • DLT
    基于visual c++平台,相机标定方法中的直接线性变换方法,即DLT方法(Based on visual c++ platform, camera calibration method of direct linear transformation method, namely DLT method)
    2013-09-05 16:34:56下载
    积分:1
  • vcpicph
    VC++图像平滑处理+程序源码,实现图象的平滑(去噪声),锐化功能,测试时请在C盘下放一个测试用的Bmp图片,路径:C: est.bmp,没有的话没法测试。如上图所示是水平平滑处理,可以对比下,不过感觉颜色失真了,有兴趣的看一下。命令行编译过程如下:   vcvars32   rc bmp.rc   cl smooth.c bmp.res user32.lib gdi32.lib(VC++ image smoothing+ program source code, to achieve a smooth image (to noise), sharpening function in the C drive when testing a test of decentralization Bmp picture, path: C: test.bmp, no words can not test . Is shown above the level of smoothing, you can compare the next, but the feeling of color distortion, interested look. Command-line compiler as follows: vcvars32 rc bmp.rc cl smooth.c bmp.res user32.lib gdi32.lib)
    2014-02-18 15:30:52下载
    积分:1
  • Retinex
    本文实现了Retinex算法,支持对图像的去雾灯操作,是一种图像增强的方法。(this paper present a new image strength method-Retinex impliment by opencv)
    2012-03-13 11:30:39下载
    积分:1
  • Digital-Image(201008)
    计算机图形学图像处理学习内容,附带PPT教程里面的代码。(the ppt for Digital Image)
    2012-02-18 15:17:52下载
    积分:1
  • 696524资源总数
  • 103886会员总数
  • 81今日下载