当前位置:网站首页>Feature generation
Feature generation
2022-07-07 21:00:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm the king of the whole stack .
Characteristic criteria
Distinctiveness : Different category patterns can be divided in the feature space
invariance : The change of the same category pattern in the feature space ( change 、 deformation 、 noise ) Selection is highly differentiated 、 And agree with the characteristics of certain invariance
Some methods of feature generation 1 Time domain 、 frequency domain 、 Video union The correlation coefficient 、FFT、DCT、Wavelet、Gabor 2 Statistics 、 structure 、 blend Histogram 、 attribute - The diagram 3 Bottom 、 Middle level 、 high-level Color 、 gradient (Robert、Prewitt、Sobel、 Difference + smooth 、HOG)、 texture ( class Harr、LBP)、 shape 、 semantics 4 Model ARMA、LPC
Three examples
A SIFT 1 Build the Gauss pyramid Make difference generation DOG(LOG) Approximation of 2 Find the extreme point , And the optimal extreme point is obtained according to the derivative 3 basis Hessian matrix ( Can autocorrelation function ) Remove edges and unstable points 4 Carry out gradient description narration
For detailed steps, please refer to 《 Image local invariance features and description 》 And http://underthehood.blog.51cto.com/2531780/658350 with SIFT Staring code , Please refer to
B Bag of Words 1 clustering - Building a dictionary 2 Map to dictionary , then SVM Wait for other classifiers to train and classify
There are some details 1 Feature extraction 2 Codebook generation 3 Coding(Hard or Soft) 4 Polling(Average or Max) 5 Classify
“ Now Computer Vision Medium Bag of words It is also very popular to describe the characteristics of images .
The general idea is this , If there is 5 Class image . There are... In each category 10 Images . In this way, each image is divided into patch( It can be rigid cutting or like SIFT Based on key point detection ), such . Each image consists of many patch Express , Every patch Use an eigenvector to represent , If we use Sift It means , An image may have hundreds of patch, Every patch The dimension of the eigenvector 128.
The next step is to build Bag of words Model , If Dictionary The dictionary's Size by 100, That is to say 100 Word . Then we can use K-means Algorithm for all patch Clustering ,k=100, We know , etc. k-means When converging . We also got each cluster The final center of mass . So this 100 A center of mass ( dimension 128) It's the dictionary reed 100 A word , The dictionary is built .
How to use the dictionary after it is built ? It's this , Initialize one first 100 individual bin The initial value of 0 Histogram h. There are not many images patch Well ? Let's calculate these again patch And the distance from each centroid , Look at each patch Which centroid is near , So histogram h Corresponding to bin Just add 1, Then calculate all of this image patches after , I get one bin=100 Histogram . Then normalize . Use this 100 Weide vector to represent this image .
After calculating all the images . Then we can carry out classification, clustering, training and prediction . “
C Image saliency 1 Multiscale comparison 2 Histogram around the center 3 Color space distribution
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/116276.html Link to the original text :https://javaforall.cn
边栏推荐
- Codeforces 474 F. Ant colony
- I have to use my ID card to open an account. Is the bank card safe? I don't understand it
- AADL inspector fault tree safety analysis module
- 【函数递归】简单递归的5个经典例子,你都会吗?
- 【OpenCV 例程200篇】223. 特征提取之多边形拟合(cv.approxPolyDP)
- Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance
- 华泰证券可以做到万一佣金吗,万一开户安全嘛
- 如何挑选基金产品?2022年7月份适合买什么基金?
- Update iteration summary of target detection based on deep learning (continuous update ing)
- 软件缺陷静态分析 CodeSonar 5.2 新版发布
猜你喜欢
OneSpin | 解决IC设计中的硬件木马和安全信任问题
使用高斯Redis实现二级索引
Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance
Nebula importer data import practice
Codesonar enhances software reliability through innovative static analysis
Lex & yacc of Pisa proxy SQL parsing
Mysql子查询关键字的使用方式(exists)
【OpenCV 例程200篇】223. 特征提取之多边形拟合(cv.approxPolyDP)
Intelligent software analysis platform embold
Small guide for rapid formation of manipulator (11): standard nomenclature of coordinate system
随机推荐
数值法求解最优控制问题(〇)——定义
Jetty:配置连接器[通俗易懂]
OneSpin | 解决IC设计中的硬件木马和安全信任问题
死锁的产生条件和预防处理[通俗易懂]
Intelligent transportation is full of vitality. What will happen in the future? [easy to understand]
Don't fall behind! Simple and easy-to-use low code development to quickly build an intelligent management information system
恶魔奶爸 B3 少量泛读,完成两万词汇量+
guava多线程,futurecallback线程调用不平均
Implement secondary index with Gaussian redis
凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
【函数递归】简单递归的5个经典例子,你都会吗?
What are the official stock trading apps in the country? Is it safe to use
2022年在启牛开中银股票的账户安全吗?
Lingyun going to sea | saihe & Huawei cloud: jointly help the sustainable development of cross-border e-commerce industry
Cantata9.0 | 全 新 功 能
写了个 Markdown 命令行小工具,希望能提高园友们发文的效率!
静态测试工具
awk处理JSON处理
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
Lingyun going to sea | yidiantianxia & Huawei cloud: promoting the globalization of Chinese e-commerce enterprise brands