-
chenggongchengxu
rgb to HSV,很有用,调试成功,可以应用(rgb to HSV,#include "stdafx.h"
#include <iostream.h>
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)
- 2011-12-02 10:09:24下载
- 积分:1
-
ss2005.11.29
主要用于打开8位、24位BMP图像,并对其进行相应的处理,如:颜色分量提取,检测等(key to open the eight, 24 BMP images, and its corresponding treatment, such as : color component extraction, testing)
- 2007-05-16 10:40:59下载
- 积分:1
-
vtk-CT(MC)
MC算法实现CT医学图像的三维重建,面绘制技术(MC algorithm CT medical image reconstruction, surface rendering technology)
- 2014-02-25 10:14:46下载
- 积分:1
-
RdfSnap123_0430_Setup
一款完全免费的专业级屏幕捕捉软件,能够让您得心应手地捕捉到需要的屏幕截图。捕捉图像方式灵活,主要可以捕捉整个屏幕、活动窗口、选定区域、固定区域、选定控件、选定菜单、选定网页等,图像输出方式多样,主要包括文件、剪贴板、画图和打印机。软件具有捕捉光标、设置捕捉前延时、显示屏幕放大镜、自定义捕捉热键、图像文件自动按时间或模板命名、捕捉成功声音提示、重复最后捕捉、预览捕捉图片、图像打印、图像裁切、图像去色、图像反色、图像翻转、图像旋转、图像大小设置、常用图片编辑、墙纸设置等功能。捕捉到的图像能够以保存图像文件、复制到剪贴板、输出到画图、打印到打印机等多种方式输出。
(A completely free professional screen capture software that allows you to be able to adequately capture the need for a screenshot. A flexible way to capture the image, the main can capture the entire screen, active window, selected regions, fixed region, the selected control, the selected menu, select Web pages, images, various output methods, mainly including documents, clipboard, drawing and printers. Software has to capture the cursor, set the delay before the capture, display screen magnifier, custom capture hotkeys, image file names automatically by time or templates to capture the success of the voice prompts, repeat last capture, preview captured pictures, image print, image cut , the image to the color, the anti-color images, image flip, image rotation, image size setting, commonly used photo editing, wallpaper settings and other functions. Images can be captured to save the image file, copy to the clipboard, export to the drawing, print to a printer output of a variety of ways)
- 2009-11-30 20:22:53下载
- 积分:1
-
optimize_c
用C语言实现最优化算法中的黄金分割法!!(optimization algorithm using c)
- 2013-05-15 17:22:18下载
- 积分:1
-
089
说明: 图片马赛克效果图片马赛克效果图片图片马赛克效果马赛克效果(Photo mosaic picture image photo mosaic mosaic mosaic)
- 2011-04-05 22:18:45下载
- 积分:1
-
04457757
超分辨率重构,介绍超分辨率重构最大后验概率算法。(Super-resolution reconstruction, introduced the super-resolution reconstruction of maximum a posteriori probability algorithm.)
- 2011-10-19 09:52:06下载
- 积分:1
-
laplace
说明: 用opencv编写的视频捕捉以及边缘提取的程序,调试成功,另附调试用的avi视频,希望对大家有所帮助(Opencv prepared with video capture as well as the procedures for edge detection, debugging success, followed by the avi debug video, hope to help everyone)
- 2008-09-04 20:10:07下载
- 积分:1
-
cpp
用halcon编写的代码实例,用来给初学者学习(Use halcon code examples, for beginners learning
)
- 2014-10-21 09:56:24下载
- 积分:1
-
Image-Processing
VC++图像程序处理 是由杨淑莹老师编写的 对于计算机视觉 等课程有重要作用 (VC++ image processing program written by Yang Shuying teacher courses for computer vision plays an important role)
- 2011-11-07 17:27:35下载
- 积分:1