登录
首页 » Python » lena

lena

于 2019-06-10 发布
0 80
下载积分: 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 个回复

  • 图片播放器 图片播放器图片播放器 flash+xml
    图片播放器 图片播放器图片播放器 flash+xml-Picture picture player player player picture flash+ Xml
    2022-12-30 21:25:05下载
    积分:1
  • used
    易语言自助打印报表,可自定义设计大小,颜色,(Easy language self-printing report, customizable design size, color,)
    2019-05-24 16:34:11下载
    积分:1
  • Taylor
    说明:  基于时间差的无线定位算法的一种,taylor算法的编译与实现(The compilation and implementation of taylor algorithm)
    2019-11-08 15:11:12下载
    积分:1
  • ATmega 16演示板的原理图及说明
    ATmega 16 demo board schematic and description
    2022-03-07 20:14:15下载
    积分:1
  • 安全工具包 2006年10月15日更新 请看帮助说明
    安全工具包 2006年10月15日更新 请看帮助说明-security tool kit on October 15, 2006 to help update See Note
    2022-03-28 20:47:11下载
    积分:1
  • 蓝牙数据发送程序
    说明:  实现通过蓝牙做到数据的通信,以及文件的发送和下载功能(Realize data communication through Bluetooth, as well as file sending and downloading functions)
    2019-04-28 08:21:58下载
    积分:1
  • 123
    说明:  读取rinex n文件,并计算各时间卫星坐标位置(Read the RINEX n file and calculate the coordinates of each time satellite)
    2019-10-22 22:11:20下载
    积分:1
  • 《HFSS电磁仿真设计应用详解》课后14个模型
    HFSS六十个仿真很全的模型实例 教会你使用HFSS(60 simulation examples teach you how to use HFSS software)
    2017-07-19 19:33:56下载
    积分:1
  • thesis
    2009nuaa南京航空航天大学毕业论文。《DTC直接转矩控制的实现》.内含simulink模型。可在matlab7.0以上直接运行。PS: 此模型为建立在数学模型基础之上,未使用power sysytem toolbox。(因toolbox版本不同会产生不兼容现象)(Thesis of Nanjing University of Aeronautics and Astronautics 2009 nuaa. “DTC direct torque control to achieve.” Simulink model.It can be run directly in matlab 7.0 or higher. PS: This model is built on the basis of mathematical models, not using power sysytem toolbox. (Toolbox versions will produce a result not compatible with the phenomenon))
    2011-02-08 06:34:28下载
    积分:1
  • Programming.Pearls--(2)
    编程珠玑中文第二版.pdf(包括源码) 本书是计算机科学方面的经典名著,原名Programming Pearls Second Edition 书的内容围绕程序设计人员面对的一系列实际问题展开。作者Jon Bentley 以其独有的洞察力和创造力,引导读者理解这些问题并学会解决方法,而这些正是程序员实际编程生涯中至关重要的。本书的特色是通过一些精心设计的有趣而又颇具指导意义的程序,对实用程序设计技巧及基本设计原则进行了透彻而睿智的描述,为复杂的编程问题提供了清晰而完备的解决思路。本书对各个层次的程序员都具有很高的阅读价值。. (Programming Pearls Chinese second edition. Pdf (including source code) This book is in computer science classics, formerly Programming Pearls Second Edition Contents of the book focus on program design were faced with a series of practical issues. Author Jon Bentley its unique insight and creativity, to guide readers to understand the issues and learn solutions, which is what the programmer actual programming career essential. The book features through some interesting and well-designed program is instructive, for practical programming skills and basic design principles and wise conduct a thorough description of the problem for complex programming provides a clear and complete solution ideas. Book for all levels of programmers have a high value of reading. .)
    2013-08-22 11:13:49下载
    积分:1
  • 696524资源总数
  • 103939会员总数
  • 12今日下载