Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
dd25f416
O
Opencv
项目概览
Greenplum
/
Opencv
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
dd25f416
编写于
8月 27, 2013
作者:
R
Roman Donchenko
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
War on Whitespace, master edition: tabs.
上级
9ed475cf
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
10 deletion
+10
-10
modules/objdetect/src/hog.cpp
modules/objdetect/src/hog.cpp
+1
-1
modules/ocl/perf/perf_calib3d.cpp
modules/ocl/perf/perf_calib3d.cpp
+5
-5
samples/cpp/image_sequence.cpp
samples/cpp/image_sequence.cpp
+2
-2
samples/python2/houghcircles.py
samples/python2/houghcircles.py
+2
-2
未找到文件。
modules/objdetect/src/hog.cpp
浏览文件 @
dd25f416
...
...
@@ -820,7 +820,7 @@ const float* HOGCache::getBlock(Point pt, float* buf)
int
h0
=
h
[
0
],
h1
=
h
[
1
];
__m128
_a0
=
_mm_set1_ps
(
a
[
0
]),
_a1
=
_mm_set1_ps
(
a
[
1
]);
__m128
_w
=
_mm_mul_ps
(
_mm_set1_ps
(
pk
.
gradWeight
),
_mm_loadu_ps
(
pk
.
histWeights
));
__m128
_w
=
_mm_mul_ps
(
_mm_set1_ps
(
pk
.
gradWeight
),
_mm_loadu_ps
(
pk
.
histWeights
));
__m128
_t0
=
_mm_mul_ps
(
_a0
,
_w
),
_t1
=
_mm_mul_ps
(
_a1
,
_w
);
_mm_storeu_ps
(
hist0
,
_t0
);
...
...
modules/ocl/perf/perf_calib3d.cpp
浏览文件 @
dd25f416
...
...
@@ -57,12 +57,12 @@ PERFTEST(StereoMatchBM)
SUBTEST
<<
left_image
.
cols
<<
'x'
<<
left_image
.
rows
<<
"; aloeL.jpg ;"
<<
right_image
.
cols
<<
'x'
<<
right_image
.
rows
<<
"; aloeR.jpg "
;
Ptr
<
StereoBM
>
bm
=
createStereoBM
(
n_disp
,
winSize
);
bm
->
compute
(
left_image
,
right_image
,
dst
);
Ptr
<
StereoBM
>
bm
=
createStereoBM
(
n_disp
,
winSize
);
bm
->
compute
(
left_image
,
right_image
,
dst
);
CPU_ON
;
bm
->
compute
(
left_image
,
right_image
,
dst
);
CPU_OFF
;
CPU_ON
;
bm
->
compute
(
left_image
,
right_image
,
dst
);
CPU_OFF
;
d_left
.
upload
(
left_image
);
d_right
.
upload
(
right_image
);
...
...
samples/cpp/image_sequence.cpp
浏览文件 @
dd25f416
...
...
@@ -10,8 +10,8 @@ static void help(char** argv)
{
cout
<<
"
\n
This sample shows you how to read a sequence of images using the VideoCapture interface.
\n
"
<<
"Usage: "
<<
argv
[
0
]
<<
" <image_mask> (example mask: example_%%02d.jpg)
\n
"
<<
"Image mask defines the name variation for the input images that have to be read as a sequence.
\n
"
<<
"Using the mask example_%%02d.jpg will read in images labeled as 'example_00.jpg', 'example_01.jpg', etc."
<<
"Image mask defines the name variation for the input images that have to be read as a sequence.
\n
"
<<
"Using the mask example_%%02d.jpg will read in images labeled as 'example_00.jpg', 'example_01.jpg', etc."
<<
endl
;
}
...
...
samples/python2/houghcircles.py
浏览文件 @
dd25f416
...
...
@@ -13,9 +13,9 @@ import sys
print
__doc__
try
:
fn
=
sys
.
argv
[
1
]
fn
=
sys
.
argv
[
1
]
except
:
fn
=
"../cpp/board.jpg"
fn
=
"../cpp/board.jpg"
src
=
cv2
.
imread
(
fn
,
1
)
img
=
cv2
.
cvtColor
(
src
,
cv2
.
COLOR_BGR2GRAY
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录