当前位置:网站首页>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
边栏推荐
- 凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
- Mahout-Pearson correlation的实现
- Jetty:配置连接器[通俗易懂]
- margin 等高布局
- How to meet the dual needs of security and confidentiality of medical devices?
- 阿洛的烦恼
- Implement secondary index with Gaussian redis
- AADL inspector fault tree safety analysis module
- Airiot helps the urban pipe gallery project, and smart IOT guards the lifeline of the city
- ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
猜你喜欢
Apifox interface integrated management new artifact
软件缺陷静态分析 CodeSonar 5.2 新版发布
恶魔奶爸 B3 少量泛读,完成两万词汇量+
Apifox 接口一体化管理新神器
最新版本的CodeSonar改进了功能安全性,支持MISRA,C ++解析和可视化
Cantata9.0 | 全 新 功 能
Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
万字总结数据存储,三大知识点
Intelligent software analysis platform embold
OneSpin 360 DV新版发布,刷新FPGA形式化验证功能体验
随机推荐
反诈困境,国有大行如何破局?
2022年在启牛开中银股票的账户安全吗?
Phoenix JDBC
UVA 11080 – Place the Guards(二分图判定)
智能软件分析平台Embold
Intelligent transportation is full of vitality. What will happen in the future? [easy to understand]
margin 等高布局
Deep learning model compression and acceleration technology (VII): mixed mode
万字总结数据存储,三大知识点
Micro service remote debug, nocalhost + rainbow micro service development second bullet
[function recursion] do you know all five classic examples of simple recursion?
目前股票开户安全吗?可以直接网上开户吗。
凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
MySQL storage expression error
最新版本的CodeSonar改进了功能安全性,支持MISRA,C ++解析和可视化
guava多线程,futurecallback线程调用不平均
如何满足医疗设备对安全性和保密性的双重需求?
How to choose fund products? What fund is suitable to buy in July 2022?
Intelligent software analysis platform embold
上海交大最新《标签高效深度分割》研究进展综述,全面阐述无监督、粗监督、不完全监督和噪声监督的深度分割方法