当前位置:网站首页>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
边栏推荐
- Validutil, "Rethinking the setting of semi supervised learning on graphs"
- Nebula Importer 数据导入实践
- Tensorflow2.x下如何运行1.x的代码
- 程序猿赚的那点钱算个P啊!
- 想杀死某个端口进程,但在服务列表中却找不到,可以之间通过命令行找到这个进程并杀死该进程,减少重启电脑和找到问题根源。
- ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
- I have to use my ID card to open an account. Is the bank card safe? I don't understand it
- 阿洛的烦恼
- Differences and connections between MinGW, mingw-w64, tdm-gcc and other tool chains "suggestions collection"
猜你喜欢

Codesonar Webinar

如何满足医疗设备对安全性和保密性的双重需求?

不落人后!简单好用的低代码开发,快速搭建智慧管理信息系统

C语言 整型 和 浮点型 数据在内存中存储详解(内含原码反码补码,大小端存储等详解)

How to meet the dual needs of security and confidentiality of medical devices?

Tensorflow2.x下如何运行1.x的代码

使用枚举实现英文转盲文

软件缺陷静态分析 CodeSonar 5.2 新版发布

神兵利器——敏感文件发现工具

Dachang classic pointer written test questions
随机推荐
解决使用uni-app MediaError MediaError ErrorCode -5
Mysql子查询关键字的使用方式(exists)
UVA 11080 – Place the Guards(二分图判定)
部署、收回和删除解决方式—-STSADM和PowerShell「建议收藏」
HDU4876ZCC loves cards(多校题)
Alibaba cloud award winning experience: how to mount NAS file system through ECS
ISO 26262 - 基于需求测试以外的考虑因素
国家正规的股票交易app有哪些?使用安不安全
Lex & yacc of Pisa proxy SQL parsing
sqlHelper的增删改查
How to choose fund products? What fund is suitable to buy in July 2022?
Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
201215-03-19—cocos2dx内存管理–具体解释「建议收藏」
Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance
C语言 整型 和 浮点型 数据在内存中存储详解(内含原码反码补码,大小端存储等详解)
DataTable数据转换为实体
现在网上开户安全么?想知道我现在在南宁,到哪里开户比较好?
margin 等高布局
How does codesonar help UAVs find software defects?
gridView自己定义做时间排版「建议收藏」