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
1cee868e
Commit
1cee868e
authored
Apr 07, 2014
by
Roman Donchenko
Committed by
OpenCV Buildbot
Apr 07, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2572 from jet47:gpu-generalized-hough
parents
a8cb5c39
d822d6f1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
perf_imgproc.cpp
modules/gpu/perf/perf_imgproc.cpp
+4
-0
generalized_hough.cu
modules/gpu/src/cuda/generalized_hough.cu
+4
-0
generalized_hough.cpp
modules/gpu/src/generalized_hough.cpp
+4
-0
test_hough.cpp
modules/gpu/test/test_hough.cpp
+4
-0
No files found.
modules/gpu/perf/perf_imgproc.cpp
View file @
1cee868e
...
...
@@ -1832,6 +1832,8 @@ PERF_TEST_P(Sz_Dp_MinDist, ImgProc_HoughCircles,
//////////////////////////////////////////////////////////////////////
// GeneralizedHough
#if !defined(__GNUC__) || (__GNUC__ * 10 + __GNUC_MINOR__ != 47)
CV_FLAGS
(
GHMethod
,
GHT_POSITION
,
GHT_SCALE
,
GHT_ROTATION
)
DEF_PARAM_TEST
(
Method_Sz
,
GHMethod
,
cv
::
Size
);
...
...
@@ -1918,3 +1920,5 @@ PERF_TEST_P(Method_Sz, DISABLED_ImgProc_GeneralizedHough,
CPU_SANITY_CHECK
(
positions
);
}
}
#endif
modules/gpu/src/cuda/generalized_hough.cu
View file @
1cee868e
...
...
@@ -40,6 +40,10 @@
//
//M*/
#if defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ == 47)
# define CUDA_DISABLER
#endif
#if !defined CUDA_DISABLER
#include <thrust/device_ptr.h>
...
...
modules/gpu/src/generalized_hough.cpp
View file @
1cee868e
...
...
@@ -46,6 +46,10 @@ using namespace std;
using
namespace
cv
;
using
namespace
cv
::
gpu
;
#if defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ == 47)
# define CUDA_DISABLER
#endif
#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
Ptr
<
GeneralizedHough_GPU
>
cv
::
gpu
::
GeneralizedHough_GPU
::
create
(
int
)
{
throw_nogpu
();
return
Ptr
<
GeneralizedHough_GPU
>
();
}
...
...
modules/gpu/test/test_hough.cpp
View file @
1cee868e
...
...
@@ -185,6 +185,8 @@ INSTANTIATE_TEST_CASE_P(GPU_ImgProc, HoughCircles, testing::Combine(
///////////////////////////////////////////////////////////////////////////////////////////////////////
// GeneralizedHough
#if !defined(__GNUC__) || (__GNUC__ * 10 + __GNUC_MINOR__ != 47)
PARAM_TEST_CASE
(
GeneralizedHough
,
cv
::
gpu
::
DeviceInfo
,
UseRoi
)
{
};
...
...
@@ -252,4 +254,6 @@ INSTANTIATE_TEST_CASE_P(GPU_ImgProc, GeneralizedHough, testing::Combine(
ALL_DEVICES
,
WHOLE_SUBMAT
));
#endif
#endif // HAVE_CUDA
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