登录
首页 » 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 个回复

  • SIS_1_0.3
    说明:  用matlab实现传染病SIS模型的建立与仿真(源代码及曲线图)(infectious disease modelling and simulating)
    2021-05-13 18:30:03下载
    积分:1
  • 对SVG进行MATLAB建模,采用正负序电流检测方法,电压环采用pid控制方法
    对SVG进行MATLAB建模,采用正负序电流检测方法,电压环采用pid控制方法。(The MATLAB is modeled by SVG, the positive and negative sequence current detection method is adopted, and the voltage loop adopts PID control method.)
    2021-04-15 22:08:54下载
    积分:1
  • ESD
    静电放电
    2022-01-28 04:49:12下载
    积分:1
  • matlab智能优化算法
    说明:  《智能优化算法及其MATLAB实例(第2版)》是2018年电子工业出版社出版的图书,图书作者是包子阳,余继周,杨杉。(Intelligent optimization algorithm and its MATLAB examples (2nd Edition) is a book published by electronic industry press in 2018, written by Bao Ziyang, Yu Jizhou and Yang Shan.)
    2021-04-01 10:32:46下载
    积分:1
  • Book
    Optical communication system book for Matlab
    2020-06-19 10:00:02下载
    积分:1
  • dgrdrhgrty
    说明:  abaqus二次开发攻略一些小程序分享给大家二次开发攻略一些小程序分享给大家(ABAQUS Python secondary development strategy)
    2020-11-11 10:12:15下载
    积分:1
  • USP10
    DLL POUR IMPRESSION FASTREPORT
    2019-04-26 17:35:25下载
    积分:1
  • 你好,每天,是视觉的和白色的象棋源代码C++黑。请享受…
    hello everyday, That is Visual C++ black and white chess source code. Please enjoy it.-hello everyday. That is Visual C black and white chess source cod e. Please enjoy it.
    2022-02-21 03:50:22下载
    积分:1
  • scada-master
    Scada master which programming by C#
    2018-10-03 21:14:33下载
    积分:1
  • 2004-022-sep
    说明:  the code for wsn and leach and sep
    2019-06-13 05:20:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载