Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
0f9bbf85
O
Opencv
项目概览
Greenplum
/
Opencv
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0f9bbf85
编写于
7月 29, 2012
作者:
A
Alexander Mordvintesv
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
spelling corrections, added aero images as a more impressive example for
ASIFT
上级
88a9f8f9
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
5 deletion
+6
-5
samples/python2/asift.py
samples/python2/asift.py
+5
-5
samples/python2/data/t4_0deg.png
samples/python2/data/t4_0deg.png
+0
-0
samples/python2/data/t4_60deg.png
samples/python2/data/t4_60deg.png
+0
-0
samples/python2/find_obj.py
samples/python2/find_obj.py
+1
-0
未找到文件。
samples/python2/asift.py
浏览文件 @
0f9bbf85
...
...
@@ -3,8 +3,8 @@ Affine invariant feature-based image matching sample.
This sample is similar to find_obj.py, but uses the affine transformation
space sampling technique, called ASIFT [1]. While the original implementation
is based on SIFT, can try to use SURF or ORB detectors instead. Homography RANSAC
is used to reject outliers. Threaing is used for faster affine sampling.
is based on SIFT,
you
can try to use SURF or ORB detectors instead. Homography RANSAC
is used to reject outliers. Threa
d
ing is used for faster affine sampling.
[1] http://www.ipol.im/pub/algo/my_affine_sift/
...
...
@@ -101,11 +101,11 @@ if __name__ == '__main__':
import
sys
,
getopt
opts
,
args
=
getopt
.
getopt
(
sys
.
argv
[
1
:],
''
,
[
'feature='
])
opts
=
dict
(
opts
)
feature_name
=
opts
.
get
(
'--feature'
,
'sift'
)
feature_name
=
opts
.
get
(
'--feature'
,
'sift
-flann
'
)
try
:
fn1
,
fn2
=
args
except
:
fn1
=
'data/
t4_0deg.pn
g'
fn2
=
'data/
t4_60deg.pn
g'
fn1
=
'data/
aero1.jp
g'
fn2
=
'data/
aero3.jp
g'
img1
=
cv2
.
imread
(
fn1
,
0
)
img2
=
cv2
.
imread
(
fn2
,
0
)
...
...
samples/python2/data/t4_0deg.png
已删除
100644 → 0
浏览文件 @
88a9f8f9
此差异由.gitattributes 抑制。
samples/python2/data/t4_60deg.png
已删除
100644 → 0
浏览文件 @
88a9f8f9
此差异由.gitattributes 抑制。
samples/python2/find_obj.py
浏览文件 @
0f9bbf85
...
...
@@ -118,6 +118,7 @@ def explore_match(win, img1, img2, kp_pairs, status = None, H = None):
cv2
.
imshow
(
win
,
cur_vis
)
cv2
.
setMouseCallback
(
win
,
onmouse
)
return
vis
if
__name__
==
'__main__'
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录