登录
首页 » Python » lena

lena

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

  • U8门户开发
    使用C#二次开发的程序很好地和U8产品集成在一起,通过vs.net建立一个项目类型为类库的项目(U8 Portal use C#,UFIDA.U8.Portal.NetProductSample)
    2020-06-16 23:00:02下载
    积分:1
  • txt_TO_dat
    用于将txt格式数据,转换为.dat格式的数据,便于CASS处理。(Txt format for the data is converted to. Dat format, easy CASS processing.)
    2013-07-30 09:12:54下载
    积分:1
  • 118节点数据
    ieee118节点潮流计算程序及节点数据(IEEE118 node power flow calculation program and node data)
    2020-11-17 23:39:38下载
    积分:1
  • 哦普及经济界经济界经济界婆家经济界经济界经济界纪
    哦普及经济界经济界经济界婆家经济界经济界经济界纪-universal economic sector in economic circles economic sector faced economic sector in economic circles economic discipline
    2023-08-09 17:50:03下载
    积分:1
  • libsvm-mat-2.89-3[FarutoUltimate3.0Mcode] (1)
    说明:  libsvm-2.89-3的工具箱,包括一些函数可以进行gapso寻优(the toolbox of matlab)
    2020-10-20 19:47:24下载
    积分:1
  • 易语言skinshap皮肤应用,易语言的EC模块
    易语言skinshap皮肤应用,易语言的EC模块-Easy language skinshap skin applications, easy module EC language
    2022-02-11 16:33:54下载
    积分:1
  • 基于随机森林的局放特征优选新方法
    提出了一种基于随机森林的局放特征优选新方法。结果证明,随机森林算法是一种有效的电缆局放特征优选方法,并有望推广到其他电力设备局放的特征寻优。(A new method based on Stochastic Forest for local feature selection is proposed. The results show that the stochastic forest algorithm is an effective method for feature optimization of Cable Partial discharge, and it is expected to be extended to other power equipment partial discharge feature optimization.)
    2020-06-19 05:40:01下载
    积分:1
  • 2004-022-sep
    the code for wsn and leach and sep
    2019-06-13 05:20:51下载
    积分:1
  • 颜色识别二维码
    说明:  专门用来识别红色的aruco码,区分blob(Special recognition of red aruco codes)
    2019-08-07 18:36:38下载
    积分:1
  • Access (2)
    说明:  可通过该寻址进行间接访问,方便进行编程和阅读(peek and poke can use this code)
    2020-06-17 17:20:02下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载