登录
首页 » Python » lena

lena

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

  • a traditional checker
    a traditional checker-type game in which the lining up of five pieces in a straight line scores victory
    2022-02-02 11:18:29下载
    积分:1
  • 锁模光纤激光器模拟
    说明:  光纤光子学,被动锁模光纤激光器,MATLAB仿真程序源代码。(Passive mode-locked fiber laser)
    2021-04-15 10:48:54下载
    积分:1
  • java写的简单贪吃蛇,用Eclipse打开,解压可见源码
    java写的简单贪吃蛇,用Eclipse打开,解压可见源码-write a simple Snake(java)
    2022-06-21 20:39:33下载
    积分:1
  • test1
    这是一个功能完善的计算器小程序,开发环境时VC++6.0(This is a good small program.)
    2011-09-01 16:14:43下载
    积分:1
  • hefty almanac source code, the C and QB version, I do not know right wrong
    万年历的源码,C++和QB版,不知道对不对-hefty almanac source code, the C and QB version, I do not know right wrong
    2022-02-15 06:52:29下载
    积分:1
  • Frutiger
    说明:  Frutiger is a series of typefaces named after its Swiss designer, Adrian Frutiger. Frutiger is a humanist sans-serif typeface, intended to be clear and highly legible at a distance or at small text sizes. A very popular design worldwide, type designer Steve Matteson described its structure as "the best choice for legibility in pretty much any situation" at small text sizes, while Erik Spiekermann named it as "the best general typeface ever
    2020-06-17 05:20:01下载
    积分:1
  • randl
    说明:  拉普拉斯随机噪声的产生,可用于加密保护隐私(The generation of Laplacian random noise, which can be used for encryption)
    2020-05-25 18:09:08下载
    积分:1
  • TMS320F2812(SCH+PCB图)Protel
    TMS320F2812(SCH+PCB图)Protel -TMS320F2812 (SCH+ PCB Chart) Protel
    2022-02-01 23:13:54下载
    积分:1
  • json-c-0.12.1-nodoc.tar
    json file 12345 files
    2017-10-18 23:23:01下载
    积分:1
  • YS-XFS5152芯片资料
    说明:  YS-XFS5152芯片资料,包含规格书,PCB,原理图,程序等(YS - XFS5152 chip information, including specifications, PCB and schematic diagram, program, etc)
    2019-04-26 10:49:52下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载