-
ga_segment
采用MATLAB语言编程实现了基于遗传算法的最大熵单阈值、最大熵双阈值、二维最大熵单阈值图像分割和基于最大类间方差遗传算法的图像分割(Through the study of threshold segmentation method and genetic algorithm theory, matlab programming language used to achieve the genetic algorithm based on maximum entropy single threshold, dual-threshold maximum entropy, maximum entropy of two-dimensional single-threshold image segmentation and otsu genetic algorithm for image segmentation.)
- 2012-02-09 21:51:31下载
- 积分:1
-
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
-
List-VCDProperties
IMAGING 工业相机图像灰度特征处理源代码,文件源码中集成了三方组件,非常有价值(IMAGING industrial camera image grayscale image processing source code, the source code to integrate the three party components, very valuable)
- 2016-06-20 14:27:50下载
- 积分:1
-
activeContoursDemo
图像轮廓提取,Snakes方法来提取CT图像的外轮廓(Snakes method)
- 2015-05-04 21:23:13下载
- 积分:1
-
SVM-Classification
Matlab写的SVM图像分类程序,是完整的可运行的图像分类程序,高手可以研究一下。(Matlab write SVM image classification procedure is complete working image classification procedures, experts can look at.)
- 2021-04-07 15:19:01下载
- 积分:1
-
C# 批量转换图片格式 实例 附完整源码
C# 批量转换图片格式 实例 附完整源码
- 2013-05-22下载
- 积分:1
-
Image-magnification-narrow
一段很好的图像放大缩小程序,解码后可以运行。(A very good image magnification narrow program, the decoding can run.
)
- 2012-07-21 11:04:36下载
- 积分:1
-
C# 旋转图片并显示 RotateFlip 实例
C# 旋转图片并显示 RotateFlip 实例
- 2013-05-23下载
- 积分:1
-
Circle-detection
hough和randon函数求图像中圆,对于水中气泡检测效果很不错(Circle detection based on random Hough transform)
- 2021-05-08 02:16:35下载
- 积分:1
-
freezeColors_v23_cbfreeze
Matlab在一个图形上添加多个colormap(Matlab adds multiple colormap on a graph)
- 2017-10-16 16:36:23下载
- 积分:1