登录
首页 » Python » lena

lena

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

  • IDT_P9242REVKPCB_PCB_20161110
    IDT无线充电15W发射PCB参考图,brd文件格式(IDT wireless charging, 15W emission, PCB reference map)
    2017-08-10 14:33:21下载
    积分:1
  • svpwmcontrol
    感应电动机无速度传感器直接磁场定向控制仿真(Induction Motor Speed Sensorless Direct Field Oriented Control Simulation)
    2021-04-18 16:38:52下载
    积分:1
  • 131-DSDT Patcher GUI
    说明:  Patchowanie DSDT Mac OSX
    2019-01-11 22:30:54下载
    积分:1
  • 源文件下载,从网络上对初学者很小的有用
    c语言算法源码 来自网络下载 文件小 对初学者有用-source download files from the network of small useful for beginners
    2022-01-26 04:45:38下载
    积分:1
  • 从ACDSee PowerPack V7.0.62(YY汉化版)中提取出来的好用的图片编辑处理软件...
    从ACDSee PowerPack V7.0.62(YY汉化版)中提取出来的好用的图片编辑处理软件 --- ACD Photo Editor 3,1,44,2 汉化精简绿色版!ACDSee越来越庞大,实用性却不见得越来越好,对我有吸引力的只是其中的ACD Photo Editor。-From the ACDSee PowerPack V7.0.62 (YY汉化version) extracted by the treatment-to-use picture editing software--- ACD Photo Editor 3,1,44,2汉化streamline green version! ACDSee more and more large, more and more practical but not necessarily better, for me there is only one of the attractiveness of the ACD Photo Editor.
    2022-02-21 10:21:50下载
    积分:1
  • small_tut
    说明:  tutorial para dragonprobot
    2019-08-10 21:04:48下载
    积分:1
  • caculator
    一个简易的计算器,只要可以实现加减乘除四种简单算法,包括可以利用负数进行计算,颜色是自己设定的,界面一般(A simple calculator can add, subtract, multiply and divide four simple algorithms, including the ability to use a negative number to calculate the color is set, the interface in general)
    2013-05-22 03:41:29下载
    积分:1
  • frmCashFlow.designer
    说明:  台达PLC上位机通讯,读写PLC数据发给广州数控机器人模拟视觉数据(Delta PLC host computer communication, read and write PLC data to Guangzhou CNC robot simulation visual data)
    2020-06-25 07:40:02下载
    积分:1
  • 关于JESS的教程
    关于JESS的教程-tutorials on JESS
    2022-08-11 07:59:09下载
    积分:1
  • 拉普拉斯边缘增强
    说明:  使用拉普拉斯算子检测边缘,进行边缘增强,达到增强图像对比度的目的(Laplace operator is used to detect the edge and enhance the edge)
    2021-02-02 14:56:52下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载