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
a8ca5606
Commit
a8ca5606
authored
Dec 09, 2015
by
Dan
Committed by
Dan
Mar 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed more missing async calls.
parent
79ecefb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
orb.cpp
modules/cudafeatures2d/src/orb.cpp
+4
-4
No files found.
modules/cudafeatures2d/src/orb.cpp
View file @
a8ca5606
...
@@ -648,9 +648,9 @@ namespace
...
@@ -648,9 +648,9 @@ namespace
// Filter keypoints by image border
// Filter keypoints by image border
ensureSizeIsEnough
(
sz
,
CV_8UC1
,
buf_
);
ensureSizeIsEnough
(
sz
,
CV_8UC1
,
buf_
);
buf_
.
setTo
(
Scalar
::
all
(
0
));
buf_
.
setTo
(
Scalar
::
all
(
0
)
,
stream
);
Rect
inner
(
edgeThreshold_
,
edgeThreshold_
,
sz
.
width
-
2
*
edgeThreshold_
,
sz
.
height
-
2
*
edgeThreshold_
);
Rect
inner
(
edgeThreshold_
,
edgeThreshold_
,
sz
.
width
-
2
*
edgeThreshold_
,
sz
.
height
-
2
*
edgeThreshold_
);
buf_
(
inner
).
setTo
(
Scalar
::
all
(
255
));
buf_
(
inner
).
setTo
(
Scalar
::
all
(
255
)
,
stream
);
cuda
::
bitwise_and
(
maskPyr_
[
level
],
buf_
,
maskPyr_
[
level
],
stream
);
cuda
::
bitwise_and
(
maskPyr_
[
level
],
buf_
,
maskPyr_
[
level
],
stream
);
}
}
...
@@ -796,8 +796,8 @@ namespace
...
@@ -796,8 +796,8 @@ namespace
GpuMat
range
=
keyPointsRange
.
rowRange
(
2
,
4
);
GpuMat
range
=
keyPointsRange
.
rowRange
(
2
,
4
);
keyPointsPyr_
[
level
](
Range
(
1
,
3
),
Range
(
0
,
keyPointsCount_
[
level
])).
copyTo
(
range
,
stream
);
keyPointsPyr_
[
level
](
Range
(
1
,
3
),
Range
(
0
,
keyPointsCount_
[
level
])).
copyTo
(
range
,
stream
);
keyPointsRange
.
row
(
4
).
setTo
(
Scalar
::
all
(
level
));
keyPointsRange
.
row
(
4
).
setTo
(
Scalar
::
all
(
level
)
,
stream
);
keyPointsRange
.
row
(
5
).
setTo
(
Scalar
::
all
(
patchSize_
*
sf
));
keyPointsRange
.
row
(
5
).
setTo
(
Scalar
::
all
(
patchSize_
*
sf
)
,
stream
);
offset
+=
keyPointsCount_
[
level
];
offset
+=
keyPointsCount_
[
level
];
}
}
...
...
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