[ASIFT 3] Computing ASIFT keypoints and matching
来源:互联网 发布:mac如何装win10虚拟机 编辑:程序博客网 时间:2024/06/07 14:20
In this algorithm, using SIFT to obtain keypoints and match them.
set num_of_tilts 7, from 1, 1.414, 2......to......
if number of tilt equals 1, I think ASIFT is SIFT.
//// Compute ASIFT keypoints // number N of tilts to simulate t = 1, \sqrt{2}, (\sqrt{2})^2, ..., {\sqrt{2}}^(N-1) int num_of_tilts1 = 7; int num_of_tilts2 = 7; // int num_of_tilts1 = 1; // int num_of_tilts2 = 1; int verb = 0; // Define the SIFT parameters siftPar siftparameters; default_sift_parameters(siftparameters); vector< vector< keypointslist > > keys1; vector< vector< keypointslist > > keys2; int num_keys1=0, num_keys2=0; cout << "Computing keypoints on the two images..." << endl; time_t tstart, tend; tstart = time(0); num_keys1 = compute_asift_keypoints(ipixels1_zoom, wS1, hS1, num_of_tilts1, verb, keys1, siftparameters); num_keys2 = compute_asift_keypoints(ipixels2_zoom, wS2, hS2, num_of_tilts2, verb, keys2, siftparameters); tend = time(0); cout << "Keypoints computation accomplished in " << difftime(tend, tstart) << " seconds." << endl;computing the keyspoint by siftparameter, storing in the vector 'key1' and 'key2'.
//// Match ASIFT keypoints int num_matchings; matchingslist matchings; cout << "Matching the keypoints..." << endl; tstart = time(0); num_matchings = compute_asift_matches(num_of_tilts1, num_of_tilts2, wS1, hS1, wS2, hS2, verb, keys1, keys2, matchings, siftparameters); tend = time(0); cout << "Keypoints matching accomplished in " << difftime(tend, tstart) << " seconds." << endl;
matching keypoints by using keys1 and keys2, storing in the matchingList 'matching'.
ok, now we finish the main steps of ASIFT. Thanks for theJean-Michel Morel and Guoshen Yu.
1 0
- [ASIFT 3] Computing ASIFT keypoints and matching
- ASIFT
- ASIFT
- SIFT(ASIFT) Matching with RANSAC
- SIFT(ASIFT) Matching with RANSAC
- [ASIFT 2] ASIFT Resize Images and simulate a tilt
- [ASIFT 0] ASIFT算法深入讲解
- SIFT/ASIFT学习
- [ASIFT 1] Load images
- [ASIFT 4] Gaussian in the ASIFT-----------Blur image
- ASIFT+OpenCV图像特征匹配实战
- 使用ASIFT过程中出现CMake错误
- Consensus-based Matching and Tracking of Keypoints for Object Tracking
- WindowsMobile上使用ASIFT实现对视角变化更鲁棒的特征匹配
- Android上使用ASIFT实现对视角变化更鲁棒的特征匹配
- ASIFT算法在WIN7 64位系统下利用VS2012生成
- 搭建可随意更改路径的VS工程-以ASIFT算法为例
- Traditional Computing and Soft Computing
- JD Quant50篇干货合集,揭开量化交易之谜
- spring的事务中程序控制事务成功失败(Transaction marked as rollback)
- 第26节:Scala的核心力量和黄金定律
- Android 7.0的适配问题,android.os.FileUriExposedException
- C语言程序设计习题
- [ASIFT 3] Computing ASIFT keypoints and matching
- 死锁&活锁&饥饿
- hdu-4632 Palindrome subsequence
- 数字图像处理做过的小程序
- linux分区加密
- 详谈Picasso图片缓存库特点及用法
- 好玩的API调用之---IP地址查询API
- HDU5540 Secrete Master Plan(水题)(2015CCPC)
- 分区分配方案