登录
首页 » Python » lena

lena

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

  • SSI_DataDriven2
    说明:  数据驱动随机子空间识别算法,可自动识别模态特征,包括频率、阻尼、振型(Data driven stochastic subspace identification algorithm can automatically identify modal characteristics, including frequency, damping and mode shape)
    2020-11-25 15:30:50下载
    积分:1
  • 地震合成记录道集显示hechengdizhenjilu
    地震合成记录道集显示,解决了地震道每一道纵向显示,代码解释详细(The seismogram is displayed in detail, and the code is explained in detail.)
    2018-04-09 16:54:28下载
    积分:1
  • It s time for web servers to handle ten thousand clients simultaneously, don t y...
    It s time for web servers to handle ten thousand clients simultaneously, don t you think? After all, the web is a big place now
    2022-10-13 12:35:03下载
    积分:1
  • windml
    该设置增加了vxworks下1600*1200高分辨率显示设置,其他分辨率设置可参考修改。(This setting adds 1600*1200 high resolution display settings under VxWorks, and other resolution settings can be referenced.)
    2020-09-18 16:07:58下载
    积分:1
  • 一个路由器模拟器
    一个路由器模拟器-a router simulator
    2022-12-09 19:10:03下载
    积分:1
  • 20权限证书解决手机签证问题NOKIA S60操作平台通用
    20权限证书解决手机签证问题NOKIA S60操作平台通用-20 Certificate of authority
    2022-02-21 17:30:04下载
    积分:1
  • 此软件可以改变oem单调的画面,展现个性自我!
    此软件可以改变oem单调的画面,展现个性自我!-This software can change the monotonous oem screen, displaying the self-personality!
    2023-02-18 09:05:03下载
    积分:1
  • Intel_Visual_Fortran_Prog_ZhouZhengHong
    LS dyna 二次开发所用的学习资料。Fortran 语言(the fortran used for user define in LS dyna)
    2021-04-04 14:49:04下载
    积分:1
  • 人口预测
    运用logistic模型对人口进行预测分析(Prediction and Analysis of Population by Logistic Model)
    2020-06-16 19:40:01下载
    积分:1
  • 期权定价
    美式、欧式、亚式期权定价,认购期权和认沽期权(American, European, Asian option pricing)
    2020-07-01 14:20:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载