登录
首页 » Python » lena

lena

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

  • ANSYS_umat_DP
    采用Drucker-Prager本构,利用ansys的umat进行边坡稳定性分析,求解可获得等效塑性应变(Using Drucker-Prager constitutive model and ANSYS UMAT to analyze slope stability, the equivalent plastic strain can be obtained)
    2021-03-10 10:29:26下载
    积分:1
  • ry表单分类搜索
    jquery表单分类搜索是一款点击input text文本框动画效果展示分类搜索条件,点击分类进行表单搜索。(JQuery form categorization search is a click input text text text text box animation to show the categorization search conditions, click classification for form search.)
    2019-03-20 14:18:58下载
    积分:1
  • 一个售楼系统,v2.0版
    一个售楼系统,v2.0版-a sales system, v2.0 Edition
    2023-01-11 12:50:03下载
    积分:1
  • roguecleaner 一个软件 可以自己下载
    roguecleaner 一个软件 可以自己下载-roguecleaner can download a software
    2022-03-14 06:42:37下载
    积分:1
  • 《智能优化算法及应用》王凌
    智能优化算法及其应用,王凌著,详细介绍了智能优化算法(Intelligent Optimization Algorithm and Its Application)
    2017-12-26 13:33:19下载
    积分:1
  • 猜数字小游戏。游戏规则:随机产生4个数字,由玩家输入4个不重复的数字(如:8 3 1 2)按回车后电脑给出提示,形式为"?A?B".你所输入的四位数中,位置和...
    猜数字小游戏。游戏规则:随机产生4个数字,由玩家输入4个不重复的数字(如:8 3 1 2)按回车后电脑给出提示,其形式为"?A?B".你所输入的四位数中,位置和数字都正确则为A,数字相同但位置不相同时为B,你只可以猜10次,若你所用的次数小于纪录保持者,则为破纪录。-small game viewing. The rules of the game : randomly generated four figures from the importation of four players not to repeat the figures (eg : 8 3 1 2) by the transport after the computer is suggested, in the form of "A B." You have entered the four-digit, location and the correct figures for A, figures but with the location is not same as B, you can only guess 10 times, if you use less than the number of records, compared with the record.
    2022-12-27 04:05:03下载
    积分:1
  • use VB, not the use of any component of the establishment of a Russian box game
    利用VB,不使用任何控件建立的一个俄罗斯方块游戏-use VB, not the use of any component of the establishment of a Russian box game
    2022-07-08 07:37:26下载
    积分:1
  • qx678
    阐述了负荷预测的应用研究,matlab实现了五类灰色关联度模型的计算,对于初学者具有参考意义。( It describes the application of load forecasting, matlab implements five gray correlation degree computing model, For beginners with a reference value.)
    2017-05-23 15:22:26下载
    积分:1
  • YMsgCore-0.1.3-alpha.tar
    说明:  OE file reader skeleton
    2019-05-08 20:19:13下载
    积分:1
  • 字符串的强悍操作,值得学习
    字符串的强悍操作,值得学习-string of tough operation, it is worth learning
    2022-06-26 23:51:54下载
    积分:1
  • 696518资源总数
  • 105958会员总数
  • 18今日下载