-
在这个目录中包含代码实现K
kmeans This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real) To compile: ICC KMEANS.CPP -kmeans This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Outpu
- 2022-08-15 00:35:38下载
- 积分:1
-
为2007年亚太大学生机器人大赛国内选拔赛作的一个策略辅助程序。
VS2005 环境下可以编写。...
为2007年亚太大学生机器人大赛国内选拔赛作的一个策略辅助程序。
VS2005 环境下可以编写。-2007 university students for the Asia-Pacific Robot Contest for domestic trials of a strategy-assisted procedures. VS2005 environment can be prepared.
- 2022-05-21 23:54:25下载
- 积分:1
-
English OCR recognition controls, can be identified on the Verification Code. De...
英文OCR识别控件,可对验证码进行识别。带有演示源码。 int startX = 0
int startY = 0
int width = -1
int height = -1
try
{
startX = Convert.ToInt32(textStartX.Text)
startY = Convert.ToInt32(textStartY.Text)
width = Convert.ToInt32(textWidth.Text)
height = Convert.ToInt32(textHeight.Text)
}
catch (Exception ex)
{
Console.WriteLine(ex.StackTrace)
}
String result = Marshal.PtrToStringAnsi(OCRpart(textImage.Text, -1, startX, startY, width, height))
textResults.Text = result -English OCR recognition controls, can be identified on the Verification Code. Demonstration with source code. int startX = 0 int startY = 0 int width =-1 int height =-1 try (startX = Convert.ToInt32 (textStartX.Text) startY = Convert.ToInt32 (textStartY.Text) width = Convert. ToInt32 (textWidth.Text) height = Convert.ToInt32 (textHeight.Text) ) catch (Exception ex) (Console.WriteLine (ex.StackTrace) ) String result = Marshal.PtrToStringAnsi (OCRpar
- 2023-04-27 23:15:04下载
- 积分:1
-
用Prewitt算子检测图像的边缘,用不同σ值的LoG算子检测图像的边缘,用Canny算子检测图像的边缘,将图像分为文字和非文字的两个类别等等...
用Prewitt算子检测图像的边缘,用不同σ值的LoG算子检测图像的边缘,用Canny算子检测图像的边缘,将图像分为文字和非文字的两个类别等等 -Edge detection using Prewitt edge of the image with different σ values LoG edge detection image edge detection using Canny operator the edge of the image, text and images are divided into two categories, and so on
- 2022-02-11 16:20:39下载
- 积分:1
-
读取卫星数据文件 画高精度地图(Lat: 35.5°N
读取卫星数据文件 画高精度地图(Lat: 35.5°N -37°N, Lon: 119.5°E -121°E)
- Draw a high-resolution map (Lat: 35.5°N-37°N, Lon: 119.5°E-121°E)
Plot an asterisk at 36.1 N and 120.3 E and a diamond at 36.15 N and 120.15 E.
- 2022-01-31 21:14:13下载
- 积分:1
-
实现java的画图程序。功能,类似于赢得绘图板的一个..
java实现的一个画图程序。功能齐全,类似于win的画图板的一个简化版本-realize a java drawing program. Functions, similar to win the drawing board of a simplified version of
- 2022-08-13 02:52:57下载
- 积分:1
-
jpg coding, C realization of the VC under development and tested. We hope to use...
jpg 编码,用C++实现,在VC下开发,经过测试。希望对大家有用-jpg coding, C realization of the VC under development and tested. We hope to useful
- 2022-02-22 12:22:06下载
- 积分:1
-
图像滤波 图像滤波 图像滤波 图像滤波 图像滤波
图像滤波 图像滤波 图像滤波 图像滤波 图像滤波 -good programgood programgood programgood programgood programgood programgood programgood programgood program
- 2022-03-04 10:27:20下载
- 积分:1
-
粒子系统的一个小例子
粒子系统的一个小例子-Particle system in a small example
- 2023-03-01 09:20:03下载
- 积分:1
-
测试天空盒子的网格
大家可以试试看 简单的代码 没有贴纹理的...
测试天空盒子的网格
大家可以试试看 简单的代码 没有贴纹理的-Test sky box grid everyone can try a simple code did not paste texture
- 2022-04-15 03:54:39下载
- 积分:1