Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2a669555
Commit
2a669555
authored
Feb 02, 2013
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Feb 02, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #414 from asmaloney:remove-unused-vars2
parents
7e06b475
bc68dfb4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
10 deletions
+2
-10
chamfermatching.cpp
modules/contrib/src/chamfermatching.cpp
+0
-1
cascadeclassifier.cpp
modules/gpu/src/cascadeclassifier.cpp
+0
-2
pyramids.cpp
modules/imgproc/src/pyramids.cpp
+1
-2
matching.cpp
modules/objdetect/src/matching.cpp
+1
-4
arithm.cpp
modules/ocl/src/arithm.cpp
+0
-1
No files found.
modules/contrib/src/chamfermatching.cpp
View file @
2a669555
...
...
@@ -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
View file @
2a669555
...
...
@@ -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
View file @
2a669555
...
...
@@ -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
View file @
2a669555
...
...
@@ -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
View file @
2a669555
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment