登录
首页 » Python » lena

lena

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

  • exercici2
    Builds game map given an input file with pre-specified format.
    2011-12-16 00:05:44下载
    积分:1
  • DIP
    说明:  qt的数字图像处理 ,包含了多种图像处理的基本功能(Digital image processing of QT , including a variety of basic functions of image processing)
    2021-04-05 16:59:50下载
    积分:1
  • 新建文件夹
    对光谱数据进行小波包分析,对光谱进行分解。重构和去噪声(Wavelet packet analysis was performed on spectral data.The spectrum is broken down.Refactoring and de-noise.)
    2018-04-20 21:42:33下载
    积分:1
  • namifadianji
    说明:  图片很有意思 (Very interesting picture)
    2008-11-06 19:01:30下载
    积分:1
  • 新天龙八部3的游戏lua脚本源代码
    说明:  TLBB lua 源码(TLBB lua)
    2021-04-16 20:08:53下载
    积分:1
  • daona
    说明:  基于Matlab的计算节点导纳矩阵程序,阻抗矩阵程序,带注释(Program for calculating nodal admittance matrix based on MATLAB)
    2019-06-07 11:15:36下载
    积分:1
  • 网上下载的一个免费的C#编写的贪吃蛇有戏,供大家学习交流。...
    网上下载的一个免费的C#编写的贪吃蛇有戏,供大家学习交流。-Download a free C# Snake有戏prepared for the exchange of U.S. study.
    2022-04-18 17:19:23下载
    积分:1
  • itti 1988的实验 ,显著性检测,很好的学习资料
    说明:  用于图像融合,特征提取,区域分割,图像识别,等等(For image fusion, feature extraction, region segmentation, image recognition, etc.)
    2019-03-13 21:24:51下载
    积分:1
  • QIANGFANGJIAOHUI
    使用空间前方交会求取参数,注释很全,适合学习摄影测量的新手。(Using spatial forward intersection to get parameters, the annotation is very complete, suitable for learning photogrammetry novice.)
    2018-09-30 20:40:36下载
    积分:1
  • sxiec60870drv-2.1.0
    sxiec60870drv-2.1.0,RTU支持IEC104(sxiec60870drv-2.1.0 RTU support IEC104)
    2020-06-23 07:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载