Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
bc68dfb4
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,发现更多精彩内容 >>
提交
bc68dfb4
编写于
2月 01, 2013
作者:
A
Andy Maloney
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unused vars
上级
db9de43f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
2 addition
and
10 deletion
+2
-10
modules/contrib/src/chamfermatching.cpp
modules/contrib/src/chamfermatching.cpp
+0
-1
modules/gpu/src/cascadeclassifier.cpp
modules/gpu/src/cascadeclassifier.cpp
+0
-2
modules/imgproc/src/pyramids.cpp
modules/imgproc/src/pyramids.cpp
+1
-2
modules/objdetect/src/matching.cpp
modules/objdetect/src/matching.cpp
+1
-4
modules/ocl/src/arithm.cpp
modules/ocl/src/arithm.cpp
+0
-1
未找到文件。
modules/contrib/src/chamfermatching.cpp
浏览文件 @
bc68dfb4
...
...
@@ -622,7 +622,6 @@ void ChamferMatcher::Matching::followContour(Mat& templ_img, template_coords_t&
{
const
int
dir
[][
2
]
=
{
{
-
1
,
-
1
},
{
-
1
,
0
},
{
-
1
,
1
},
{
0
,
1
},
{
1
,
1
},
{
1
,
0
},
{
1
,
-
1
},
{
0
,
-
1
}
};
coordinate_t
next
;
coordinate_t
next_temp
;
unsigned
char
ptr
;
assert
(
direction
==-
1
||
!
coords
.
empty
());
...
...
modules/gpu/src/cascadeclassifier.cpp
浏览文件 @
bc68dfb4
...
...
@@ -771,8 +771,6 @@ NCVStatus loadFromXML(const std::string &filename,
haar
.
bNeedsTiltedII
=
false
;
Ncv32u
curMaxTreeDepth
;
std
::
vector
<
char
>
xmlFileCont
;
std
::
vector
<
HaarClassifierNode128
>
h_TmpClassifierNotRootNodes
;
haarStages
.
resize
(
0
);
haarClassifierNodes
.
resize
(
0
);
...
...
modules/imgproc/src/pyramids.cpp
浏览文件 @
bc68dfb4
...
...
@@ -327,11 +327,10 @@ pyrUp_( const Mat& _src, Mat& _dst, int)
CV_Assert
(
std
::
abs
(
dsize
.
width
-
ssize
.
width
*
2
)
==
dsize
.
width
%
2
&&
std
::
abs
(
dsize
.
height
-
ssize
.
height
*
2
)
==
dsize
.
height
%
2
);
int
k
,
x
,
sy0
=
-
PU_SZ
/
2
,
sy
=
sy0
,
width0
=
ssize
.
width
-
1
;
int
k
,
x
,
sy0
=
-
PU_SZ
/
2
,
sy
=
sy0
;
ssize
.
width
*=
cn
;
dsize
.
width
*=
cn
;
width0
*=
cn
;
for
(
x
=
0
;
x
<
ssize
.
width
;
x
++
)
dtab
[
x
]
=
(
x
/
cn
)
*
2
*
cn
+
x
%
cn
;
...
...
modules/objdetect/src/matching.cpp
浏览文件 @
bc68dfb4
...
...
@@ -1396,7 +1396,7 @@ static int createSchedule(const CvLSVMFeaturePyramid *H, const CvLSVMFilterObjec
const
int
n
,
const
int
bx
,
const
int
by
,
const
int
threadsNum
,
int
*
kLevels
,
int
**
processingLevels
)
{
int
rootFilterDim
,
sumPartFiltersDim
,
i
,
numLevels
,
dbx
,
dby
,
numDotProducts
;
int
rootFilterDim
,
sumPartFiltersDim
,
i
,
numLevels
,
dbx
,
dby
;
int
j
,
minValue
,
argMin
,
lambda
,
maxValue
,
k
;
int
*
dotProd
,
*
weights
,
*
disp
;
if
(
H
==
NULL
||
all_F
==
NULL
)
...
...
@@ -1420,8 +1420,6 @@ static int createSchedule(const CvLSVMFeaturePyramid *H, const CvLSVMFilterObjec
// of feature map with part filter
dbx
=
2
*
bx
;
dby
=
2
*
by
;
// Total number of dot products for all levels
numDotProducts
=
0
;
lambda
=
LAMBDA
;
for
(
i
=
0
;
i
<
numLevels
;
i
++
)
{
...
...
@@ -1429,7 +1427,6 @@ static int createSchedule(const CvLSVMFeaturePyramid *H, const CvLSVMFilterObjec
H
->
pyramid
[
i
+
lambda
]
->
sizeY
*
rootFilterDim
+
(
H
->
pyramid
[
i
]
->
sizeX
+
dbx
)
*
(
H
->
pyramid
[
i
]
->
sizeY
+
dby
)
*
sumPartFiltersDim
;
numDotProducts
+=
dotProd
[
i
];
}
// Allocation memory for saving dot product number performed by each thread
weights
=
(
int
*
)
malloc
(
sizeof
(
int
)
*
threadsNum
);
...
...
modules/ocl/src/arithm.cpp
浏览文件 @
bc68dfb4
...
...
@@ -2205,7 +2205,6 @@ void cv::ocl::transpose(const oclMat &src, oclMat &dst)
CV_Assert
(
src
.
type
()
==
CV_8UC1
||
src
.
type
()
==
CV_8UC3
||
src
.
type
()
==
CV_8UC4
||
src
.
type
()
==
CV_8SC3
||
src
.
type
()
==
CV_8SC4
||
src
.
type
()
==
CV_16UC2
||
src
.
type
()
==
CV_16SC2
||
src
.
type
()
==
CV_32SC1
||
src
.
type
()
==
CV_32FC1
);
stringstream
idxstr
;
oclMat
emptyMat
;
if
(
src
.
data
==
dst
.
data
&&
dst
.
cols
==
dst
.
rows
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录