Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
abfcde00
Commit
abfcde00
authored
Nov 04, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
parents
2d0c8a4f
cd95a5f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
descriptor.hpp
modules/stereo/include/opencv2/stereo/descriptor.hpp
+1
-1
sift.cpp
modules/xfeatures2d/src/sift.cpp
+3
-2
No files found.
modules/stereo/include/opencv2/stereo/descriptor.hpp
View file @
abfcde00
...
...
@@ -222,7 +222,7 @@ namespace cv
for
(
int
j
=
n2
+
2
;
j
<=
width
-
n2
-
2
;
j
++
)
{
int
c
[
nr_img
];
memset
(
c
,
0
,
nr_img
);
memset
(
c
,
0
,
sizeof
(
c
[
0
])
*
nr_img
);
for
(
int
step
=
step_start
;
step
<=
step_end
;
step
+=
step_inc
)
{
for
(
int
ii
=
-
n2
;
ii
<=
+
n2_stop
;
ii
+=
step
)
...
...
modules/xfeatures2d/src/sift.cpp
View file @
abfcde00
...
...
@@ -1147,19 +1147,20 @@ void SIFT_Impl::detectAndCompute(InputArray _image, InputArray _mask,
}
Mat
base
=
createInitialImage
(
image
,
firstOctave
<
0
,
(
float
)
sigma
);
std
::
vector
<
Mat
>
gpyr
,
dogpyr
;
std
::
vector
<
Mat
>
gpyr
;
int
nOctaves
=
actualNOctaves
>
0
?
actualNOctaves
:
cvRound
(
std
::
log
(
(
double
)
std
::
min
(
base
.
cols
,
base
.
rows
)
)
/
std
::
log
(
2.
)
-
2
)
-
firstOctave
;
//double t, tf = getTickFrequency();
//t = (double)getTickCount();
buildGaussianPyramid
(
base
,
gpyr
,
nOctaves
);
buildDoGPyramid
(
gpyr
,
dogpyr
);
//t = (double)getTickCount() - t;
//printf("pyramid construction time: %g\n", t*1000./tf);
if
(
!
useProvidedKeypoints
)
{
std
::
vector
<
Mat
>
dogpyr
;
buildDoGPyramid
(
gpyr
,
dogpyr
);
//t = (double)getTickCount();
findScaleSpaceExtrema
(
gpyr
,
dogpyr
,
keypoints
);
KeyPointsFilter
::
removeDuplicatedSorted
(
keypoints
);
...
...
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