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
1e2ad7e3
Commit
1e2ad7e3
authored
Dec 14, 2016
by
Rostislav Vasilikhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rewritten for new macro use
parent
ee77538c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
featureselect.cpp
modules/imgproc/src/featureselect.cpp
+5
-17
No files found.
modules/imgproc/src/featureselect.cpp
View file @
1e2ad7e3
...
...
@@ -42,11 +42,7 @@
#include "precomp.hpp"
#include "opencl_kernels_imgproc.hpp"
#ifdef HAVE_OPENVX
#define IVX_USE_OPENCV
#define IVX_HIDE_INFO_WARNINGS
#include "ivx.hpp"
#endif
#include "opencv2/core/openvx/ovx_defs.hpp"
#include <cstdio>
#include <vector>
...
...
@@ -346,13 +342,11 @@ static bool openvx_harris(Mat image, OutputArray _corners,
}
catch
(
RuntimeError
&
e
)
{
CV_Error
(
cv
::
Error
::
StsInternal
,
e
.
what
());
return
false
;
VX_DbgThrow
(
e
.
what
());
}
catch
(
WrapperError
&
e
)
{
CV_Error
(
cv
::
Error
::
StsInternal
,
e
.
what
());
return
false
;
VX_DbgThrow
(
e
.
what
());
}
return
true
;
...
...
@@ -383,15 +377,9 @@ void cv::goodFeaturesToTrack( InputArray _image, OutputArray _corners,
return
;
}
#ifdef HAVE_OPENVX
// Disabled due to bad accuracy
if
(
false
&&
useHarrisDetector
&&
_mask
.
empty
()
&&
openvx_harris
(
image
,
_corners
,
maxCorners
,
qualityLevel
,
minDistance
,
blockSize
,
harrisK
))
{
return
;
}
#endif
CV_OVX_RUN
(
false
&&
useHarrisDetector
&&
_mask
.
empty
(),
openvx_harris
(
image
,
_corners
,
maxCorners
,
qualityLevel
,
minDistance
,
blockSize
,
harrisK
))
if
(
useHarrisDetector
)
cornerHarris
(
image
,
eig
,
blockSize
,
3
,
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