-
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
-
TensorFlow-Examples-master
机器学习算法基于TensorFlow2.0的实现(Implementation of machine learning Based on TensorFlow 2.0)
- 2020-06-21 09:40:02下载
- 积分:1
-
python 爬取环境大数据源代码
python 爬取环境大数据源代码
win10环境运行说明
0/在D:创建BigData文件夹,在其中创建RawData2文件夹
1/右键+shift,选择在此处打开命令行
2/输入python .GetYearCode.py Year Hour
其中,Year是年份,4位,如2017
Hour是小时,2位,如09 如13
3/回车,在D:/BigData文件夹下找结果
- 2022-01-25 23:56:40下载
- 积分:1
-
wave transformation txt
用于机器学习制作音频样本,将wave文件转换成txt文本文件。wave_txt_v1单纯只是将一个wave文件夹中的全部wave文件转化到一个txt文本中,每个wave文件生成的字符串以逗号相隔。wave_txt_v2就升级了点,把两个wave文件夹(机器学习中的一个是训练,一个是测试)分别转换成两个对应txt文本,生成的txt文本就可以进行机器学习了。目前是提供这些简单测试代码。。。。。。
- 2023-08-23 09:45:03下载
- 积分:1
-
gabor.py
说明: Gabor特征提取,使用python,输出为一个直方图。用于kcf的目标跟踪(Gabor feature extraction, using python, output as a histogram. Target tracking for KCF)
- 2019-04-15 11:14:23下载
- 积分:1
-
Train
说明: CNN训练模型,可以快速训练已有图片,下载者需自行调整文件路径即可。(CNN Training Model,It can train existing pictures quickly, and downloaders need to adjust the file path by themselves.)
- 2020-06-19 21:20:02下载
- 积分:1
-
统计学习方法(李航)
统计学习是计算机及其应用领域的一门重要的学科本书全面系统地介绍了统计学习的主要方法,特别是监督学习方法,包括感知机、K近邻法、朴素贝叶斯法、决策树、逻辑斯谛回归、与最大熵模型、支持向量机、提升方法、EM算法、隐马尔可夫模型和条件随机场等。(Statistical learning is an important subject in the field of computer and application of this book comprehensively systematically introduces the main methods of statistical learning, especially the supervision method of study, including the perception, K neighbor method, naive bayesian method, decision tree, logistic regression, and the maximum entropy model, support vector machine (SVM), promotion methods, the EM algorithm, the hidden markov model and conditional random field, etc.)
- 2020-06-20 11:20:02下载
- 积分:1
-
vae模型
说明: VAE生成模型,主要用于数据生成,python,keras实现的(VAE generation model, mainly used for data generation)
- 2019-12-18 19:36:28下载
- 积分:1
-
《Python机器学习算法》
说明: python机器学习算法 赵志勇
深入分析机器学习中的常用算法(python machine learning)
- 2019-04-02 14:43:33下载
- 积分:1
-
共现矩阵
说明: 将高维数据组转换为二维数据组,方便数据处理工作人员的数据分析,并包含自然语言处理(The multi-dimensional co-occurrence matrix is transformed into two-dimensional array form, and the high-dimensional data group is transformed into two-dimensional data group, which is convenient for data processing staff to analyze data, and includes natural language processing)
- 2020-07-02 16:56:12下载
- 积分:1