登录
首页 » Python » lena

lena

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

  • PMSM_SMC
    说明:  使用滑模控制在matlab搭建的永磁同步电机模型,能够使转速稳定。(现代永磁同步电机控制原理及MATLAB仿真__袁雷编著)(The model of PMSM built by using sliding mode control in Matlab can make the speed stable.)
    2020-03-02 18:03:52下载
    积分:1
  • SPR圖檔修改
    说明:  天堂SPR图档修改器,可用来修改变档等信息(Heaven SPR file modifier)
    2020-06-09 14:17:19下载
    积分:1
  • 15883869SVG
    说明:  SVG工作原理图,主电路为电压型桥式电路,电流解耦的双闭环控制策略,svpwm的MATLAB仿真(SVG working principle diagram, voltage bridge circuit as the main circuit, current decoupling double closed loop control strategy, SVPWM MATLAB simulation)
    2019-03-15 19:26:18下载
    积分:1
  • TestDlg
    说明:  对话框用户界面程序的编写,如何向对话框控件关联数据成员及其实现机理,如何利用对话框类的成员函数向控件发送消息和获取对话框控件的类指针,如何直接利用对话框控件类操纵对话框控件(发送消息和直接调用成员函数)。(How to write dialog box user interface program, how to associate data members with dialog box control and its implementation mechanism, how to use dialog box class member function to send messages to control and get class pointer of dialog box control, how to directly use dialog box control class to manipulate dialog box control (sending messages and calling member functions directly) Number).)
    2020-06-16 00:20:02下载
    积分:1
  • TOPSIS-熵权法
    说明:  计算TOPSIS-熵权法中的权重和指数综合得分(TOPSIS entropy weight method)
    2020-02-27 21:20:22下载
    积分:1
  • EDA JTD
    基于现实生活中交通信号灯的模拟设计,部分实现信号灯的逻辑转换。(Based on the simulation design of traffic lights in real life, the logic conversion of traffic lights is partly realized.)
    2019-06-01 23:14:38下载
    积分:1
  • 库存管理系统-单机版
    Visual Basic VB 库存管理系统-单机版(Inventory Management System)
    2020-06-16 14:40:01下载
    积分:1
  • WinMac64_ShearLab-1.1
    说明:  shearlet变换工具箱,官方网站上下载,分享给大家使用(Shearlet transformation toolbox, download from the official website, share it for everyone to use)
    2019-01-07 13:42:37下载
    积分:1
  • 基于极限学习机ELM的数据分类
    说明:  针对数据分类问题,提出了基于极限学习机的分类方法,将数据样本分为训练样本和测试样本,并采用准确率指标进行评价。(Aiming at the problem of data classification, a classification method based on extreme learning machine is proposed. The data samples are divided into training samples and test samples, and the accuracy index is used to evaluate.)
    2019-01-13 10:47:02下载
    积分:1
  • HTML5鼠标控制彩色气泡特效
    HTML5鼠标控制彩色气泡特效是一款html5 canvas绘制网页经过跟随鼠标移动漫天飞舞的彩色圆球动画。(HTML5 mouse-controlled color bubble effect is a color sphere animation that HTML 5 canvas draws web pages and flies through the sky following the mouse movement.)
    2019-01-13 18:36:33下载
    积分:1
  • 696516资源总数
  • 106927会员总数
  • 1今日下载