登录
首页 » Python » lena

lena

于 2019-06-10 发布
0 96
下载积分: 1 下载次数: 2

代码说明:

说明:  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.)

文件列表:

lena.py, 5593 , 2019-06-10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • bcb6cgisample
    bc++build 6.0 最简CGI程序演示(bc++build 6.0 cgi example)
    2020-06-18 07:00:02下载
    积分:1
  • 是个文档,和软件工程类似,如何实现一工程所需步骤
    是个文档,和软件工程类似,如何实现一工程所需步骤-is documentation, and software engineering similar, and how to realize a project the necessary steps
    2022-03-02 23:40:38下载
    积分:1
  • ansys自动读写及分配CPU
    ANSYS apdl代码,在有很多个计算工况的情况下,用此代码实现多工况依次批处理的功能(ANSYS APDL code, in a lot of calculation conditions under the condition of multi condition are batch function with this code)
    2020-11-23 19:29:34下载
    积分:1
  • Distributed Cooperative Control
    本文为直流微电网中的多个dc-ES建立了分布式协同控制框架,并给出了系统的小信号稳定性分析。 主要级别实现下垂控制以协调多个dc-ES的操作。 次级控制基于一致性算法来调节直流母线电压基准,并结合dc-ES之间的充电状态(SOC)平衡。 通过该设计,协同控制可以实现平均直流总线电压一致,并且仅使用邻居到邻居信息来维持不同dc-ES之间的SOC平衡。 此外,开发了具有主控制器和辅助控制器的四个dc-ES系统的小信号模型。 提出了特征值分析,以显示通信权重对系统稳定性的影响。(This paper establishes a distributed cooperative control framework for multiple dc-ESs in a dc microgrid and presents the small-signal stability analysis of the system. The primary level implements a droop control to coordinate the operations of multiple dc-ESs. The secondary control is based on a consensus algorithm to regulate the dc-bus voltage reference, incorporating the state-of-charge (SOC) balance among dc-ESs. With the design, the cooperative control can achieve average dc-bus voltage consensus and maintain SOC balance among different dc-ESs using only neighbor-to-neighbor information. Furthermore, a small-signal model of a four dc-ESs system with the primary and secondary controllers is developed. The eigenvalue analysis is presented to show the effect of the communication weight on system stability.)
    2018-09-05 09:25:46下载
    积分:1
  • GPS全球定位接收机 原理与软件实现_12378929
    说明:  本书从电子技术和通信系统的角度讲解gps接收机的设计开发原理,其内容集中在用户终端,即接收机的设计原理和软件实现上。全书分为两大部分,第一部分为理论篇,第二部分为实现篇。理论篇首先对导航的基本目的进行了阐述,并由一个浅显的二维导航系统对导航信号的特点进行了推导,随后阐述了gps信号格式,同时对于直接影响接收机性能的射频前端部分做了理论分析;实现篇主要对本书实现的软件gps接收机的系统实现和源代码进行了讲解,同时作为总结,将信号处理的结果和有意义的中间变量以图示的方式给出,可以使读者有一个感性的认识,同时提升学习兴趣。. 本书适合从事卫星导航接收机研发的技术人员和卫星通信接收机研究的研究人员,尤其是从事北斗系统研发的专业人员、cdma通信系统研发人员,以及通信电子类专业的高年级本科生和研究生阅读,既可作为教学培训的教材,也可作为相关专业工程技术人员的参考资料。(This book explains the design and development principle of the GPS receiver from the perspective of electronic technology and communication system. Its content focuses on the design principle and software implementation of the user terminal, that is, the receiver. The whole book is divided into two parts. The first part is the theoretical part and the second part is the realization part. Firstly, the basic purpose of navigation is expounded, and the characteristics of navigation signal are deduced by a simple two-dimensional navigation system. Then, the format of GPS signal is expounded. At the same time, the front-end part of radio frequency which directly affects the performance of the receiver is theoretically analyzed.)
    2019-05-05 08:54:24下载
    积分:1
  • GBA操作系统(中文版)
    GBA操作系统(中文版)-GBA operating system (Chinese version)
    2022-04-29 00:15:37下载
    积分:1
  • ORB-DARP-Project-master
    slove the dial a ride problem with time window constraints
    2018-02-28 18:03:16下载
    积分:1
  • R-software
    一个关于统计方面的编程软件,内有安装程序以及相关方面的说明(A statistical programming software, installation procedures and the relevant aspects of the description within)
    2012-09-22 17:35:14下载
    积分:1
  • RBM
    受限玻尔兹曼机,随机生成数据,测试分类情况(Restricted Boltzmann Machines)
    2017-07-03 10:18:10下载
    积分:1
  • Effective-and-More-Effective-CPP
    关于高效的C++编程的电子书,内容很详细,对于C++学习很有用。(About efficient C++ programming e-books, the content is very detailed, very useful for C++ learning.)
    2013-07-21 23:41:17下载
    积分:1
  • 696518资源总数
  • 104228会员总数
  • 45今日下载