登录
首页 » Python » lena

lena

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

  • 第二章xml课后习题
    该代码为XML编程与应用教程第二章课后习题实验答案。(The code for XML programming and Application Tutorial second chapter after-school exercise experiment answer.)
    2018-11-13 09:14:39下载
    积分:1
  • 清华大学足球机器人大赛程序。
    清华大学足球机器人大赛程序。-Qinghua University soccer robot competition procedures.
    2022-06-27 15:15:40下载
    积分:1
  • dianzicheng
    采用89c51的电子称,利用无字库12864液晶实现电子称重,内有对信息采集后的放大与校正模块(Using 89c51 electronics, No 12864 LCD electronic weighing, after amplification and correction of the information collection module)
    2013-04-18 12:37:16下载
    积分:1
  • 点目标仿真sar
    通过点目标仿真合成孔径雷达成像算法中最常用的RD成像,得到的仿真结果与理论分析对比。(The most commonly used RD imaging algorithm in SAR imaging algorithm is simulated by point target, and the simulation results are compared with the theoretical analysis.)
    2017-11-24 14:37:32下载
    积分:1
  • 5956484OFDM-waterfill
    hslogic算法仿真,基于matlab的OFMD注水法仿真与分析。(Hslogic algorithm simulation, matlab based OFMD water injection method simulation and analysis.)
    2018-09-16 21:08:29下载
    积分:1
  • 响应式视频背景动画特效
    说明:  一款HTML5超酷响应式视频背景动画特效。该视频背景可以将视频自适应屏幕(HTML5 Super Cool Responsive Video Background Animation Special Effects. The video background can be adapted to the video screen.)
    2019-02-01 13:22:40下载
    积分:1
  • script-java
    说明:  Make code java for beginners
    2020-01-08 01:48:11下载
    积分:1
  • 这是一个台球做的一半的源代码,有很多不足之处,但它有它的…
    这个是桌球做到一半的源代码,很多不足,不过有自己的思想在里面,多多指教-This is a billiard do half of the source code, many inadequacies, but it has its own thinking on the inside, exhibitions
    2023-03-12 19:45:03下载
    积分:1
  • dwa_code
    说明:  动态窗口法实现二维路径规划,可以设置圆形动/静态障碍物(Dynamic window method is used to realize two-dimensional path planning, and circular dynamic / static obstacles can be set)
    2021-02-24 18:09:39下载
    积分:1
  • pythonmaterial
    关于Python编程的压缩包,包含很多用Python编写的程序。(Python programming on the compressed package, including a lot of procedures written in Python.)
    2017-08-14 17:14:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载