-
lena
说明: SLIC算法是simple linear iterative cluster的简称,该算法用来生成超像素(superpixel)
算法步骤:
已知一副图像大小M*N,可以从RGB空间转换为LAB空间,LAB颜色空间表现的颜色更全面
假如预定义参数K,K为预生成的超像素数量,即预计将M*N大小的图像(像素数目即为M*N)分隔为K个超像素块,每个超像素块范围大小包含[(M*N)/K]个像素
假设每个超像素区域长和宽都均匀分布的话,那么每个超像素块的长和宽均可定义为S,S=sqrt(M*N/K)
遍历操作,将每个像素块的中心点的坐标(x,y)及其lab的值保存起来,加入到事先定义好的集合中(Algorithmic steps:
Given the size of an image M*N, it can be converted from RGB space to LAB space, and the color space of LAB is more comprehensive.
If the predefined parameter K, K is the number of pre-generated super-pixels, i.e., the image of M*N size (the number of pixels is M*N) is expected to be divided into K super-pixel blocks, each of which contains [(M*N)/K] pixels.
Assuming that the length and width of each super-pixel region are evenly distributed, the length and width of each super-pixel block can be defined as S, S = sqrt (M*N/K).
The traversal operation saves the coordinates (x, y) and lab values of the central points of each pixel block and adds them to a pre-defined set.)
- 2019-06-10 14:48:52下载
- 积分:1
-
PCI_Code-Folder
《集体智慧编程》这本书的源码,里面包含数据挖掘方面的一些算法,包括遗传算法,费舍尔算法,决策树等(" The collective wisdom of programming source code of this book, which contains the data mining aspects of algorithms, including genetic algorithms, Fisher algorithm, decision tree)
- 2012-08-13 14:39:52下载
- 积分:1
-
30天改变你的人生,30天改变你的人生30天改变你的人生,30天改变你的人生...
30天改变你的人生,30天改变你的人生30天改变你的人生,30天改变你的人生-30 days to change your life, 30 days to change your life 30 days to change your life, 30 days to change your life
- 2022-02-05 03:10:05下载
- 积分:1
-
RapidIO-3.1-Specification
说明: RapidIO-3.1-Specification,用于rapido的规范的解读,可以更加深入的了解rapido的整个架构。(RapidIO-3.1-Specification, which is used to interpret the specifications of rapido, can provide a deeper understanding of the overall framework of rapido.)
- 2020-06-23 04:40:02下载
- 积分:1
-
Java EJB简单例子
Java EJB简单例子,这是HelloWorldBean的Home接口,它是EJB对象的生成库,无状态会话(将在下一个实例中具体讲解)Bean,这个接口是客户端与EJB对象相互作用的中间途径,通过Client触发调用Bean方法:
try {
//取得初始化属性jndiContext,它是连接JNDI树的起始点
InitialContext jndiContext = new InitialContext(properties);
//取得Home对象的引用
Object ref = jndiContext.lookup("HelloWorldHome");
HelloWorldHome home = (HelloWorldHome)
PortableRemoteObject.narrow (ref, HelloWorldHome.class);
//用EJB生成库Home生成EJB对象
HelloWorld hello= home.create();
//调用EJB对象方法printHelloWorld(),EJB对象把调用委派给Bean
System.out.println (hello.printHelloWorld());
}
- 2022-07-20 22:16:54下载
- 积分:1
-
波方程系数计算程序
计算薄膜体声波谐振器二维标量微分方程的两类谐振频率(FBAR resonant frequency)
- 2017-09-16 19:02:34下载
- 积分:1
-
design-kit-axure-library-master
说明: axure元件库,用于设计原型。解压后导入即可使用。(Axure component library for prototype design. After decompression, it can be imported and used.)
- 2019-03-27 10:53:42下载
- 积分:1
-
prepared using Visual C procedures. MFC suitable for beginners learning from the...
用VISUAL C++编写的程序.适合初学MFC的人学习.-prepared using Visual C procedures. MFC suitable for beginners learning from the people.
- 2022-11-18 19:25:03下载
- 积分:1
-
exactly Elective System recently completed
正能选课系统刚完成的-exactly Elective System recently completed
- 2022-03-16 11:48:06下载
- 积分:1
-
LinuxandC
本书讲述Linux操作系统学习知识的同时用c语言做为实例语言(The book of knowledge about the Linux operating system, while learning to use language as an example of c language)
- 2009-12-02 18:14:17下载
- 积分:1