-
lena
说明: 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.)
- 2019-06-10 14:48:52下载
- 积分:1
-
Ch03
说明: 机器学习实战中chapter03中所有案例的代码,带详细讲解说明(Machine learning actual combat chapter 03 in all cases of code, with detailed explanation)
- 2020-06-30 10:32:58下载
- 积分:1
-
使用matplotlib在python中绘制图形
基于matplotlib在python中绘制图形。代码中给出了一个sinx,一个三维曲面的绘制代码示例。
- 2022-02-13 00:05:21下载
- 积分:1
-
零基础学python(明日科技)源代码
零基础学python(明日科技)源代码
- 2021-05-06下载
- 积分:1
-
PCA
说明: python PCA算法原理推导,及源代码实现,并基于PCA算法实现图片压缩,附pdf文件说明(Python PCA algorithm principle derivation, and source code implementation, and based on PCA algorithm to achieve image compression, with PDF file description)
- 2021-02-09 12:04:01下载
- 积分:1
-
人脸检测
在电脑pc上,打开电脑的摄像头检测并标出人的面部眼睛,采用的python opencv的python_face_matching分类器,检测的精准度较高
- 2023-07-26 14:25:04下载
- 积分:1
-
Copula应用实例及程序
说明: 读取数据、绘制频率直方图、*计算偏度和峰度*、正态性检验*、求经验分布函数值*、核分布估计**、核分布估计**、*求Copula中参数的估计值**、绘制Copula的密度函数和分布函数图******、求Kendall秩相关系数和Spearman秩相关系数*******、模型评价(My English is poor
i hope you can understand from the chinese introdunction
thinks)
- 2019-04-12 20:18:57下载
- 积分:1
-
readwav.py
说明: 读写音频实现。利用python代码,可以很方便的分析出音频参数。(about read sound, we can know the paragramme of sound.)
- 2019-10-16 19:32:23下载
- 积分:1
-
Python_k线图
Numpy简单绘制K线图实现上涨下跌效果图(Python)
- 2022-07-10 11:09:46下载
- 积分:1
-
UpData
用通达信接气接口来保存A股历史数据到Mysql数据库(using python Tdx to mysql)
- 2020-06-15 22:45:01下载
- 积分:1