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
62c4cf3a
Commit
62c4cf3a
authored
Sep 25, 2017
by
Rostislav Vasilikhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed build of OpenVX Harris
parent
b143f710
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
featureselect.cpp
modules/imgproc/src/featureselect.cpp
+3
-3
No files found.
modules/imgproc/src/featureselect.cpp
View file @
62c4cf3a
...
...
@@ -275,7 +275,7 @@ struct VxKeypointsComparator
static
bool
openvx_harris
(
Mat
image
,
OutputArray
_corners
,
int
_maxCorners
,
double
_qualityLevel
,
double
_minDistance
,
int
_blockSize
,
int
gradia
ntSize
,
double
_harrisK
)
int
_blockSize
,
int
_gradie
ntSize
,
double
_harrisK
)
{
using
namespace
ivx
;
...
...
@@ -295,7 +295,7 @@ static bool openvx_harris(Mat image, OutputArray _corners,
ivx
::
Scalar
strengthThresh
=
ivx
::
Scalar
::
create
<
VX_TYPE_FLOAT32
>
(
context
,
0
);
//The gradient window size to use on the input.
vx_int32
gradientSize
=
3
;
vx_int32
gradientSize
=
_gradientSize
;
//The block window size used to compute the harris corner score
vx_int32
blockSize
=
_blockSize
;
...
...
@@ -379,7 +379,7 @@ void cv::goodFeaturesToTrack( InputArray _image, OutputArray _corners,
// Disabled due to bad accuracy
CV_OVX_RUN
(
false
&&
useHarrisDetector
&&
_mask
.
empty
()
&&
!
ovx
::
skipSmallImages
<
VX_KERNEL_HARRIS_CORNERS
>
(
image
.
cols
,
image
.
rows
),
openvx_harris
(
image
,
_corners
,
maxCorners
,
qualityLevel
,
minDistance
,
blockSize
,
gradi
a
ntSize
,
harrisK
))
openvx_harris
(
image
,
_corners
,
maxCorners
,
qualityLevel
,
minDistance
,
blockSize
,
gradi
e
ntSize
,
harrisK
))
if
(
useHarrisDetector
)
cornerHarris
(
image
,
eig
,
blockSize
,
gradientSize
,
harrisK
);
...
...
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