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
6609d3e4
Commit
6609d3e4
authored
Oct 12, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rgbd: fix OpenCL includes
parent
ec181a71
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
11 additions
and
13 deletions
+11
-13
depth_to_3d.hpp
modules/rgbd/src/depth_to_3d.hpp
+0
-2
fast_icp.cpp
modules/rgbd/src/fast_icp.cpp
+1
-0
kinfu.cpp
modules/rgbd/src/kinfu.cpp
+1
-1
kinfu_frame.cpp
modules/rgbd/src/kinfu_frame.cpp
+1
-0
kinfu_frame.hpp
modules/rgbd/src/kinfu_frame.hpp
+0
-1
precomp.hpp
modules/rgbd/src/precomp.hpp
+5
-5
tsdf.cpp
modules/rgbd/src/tsdf.cpp
+2
-1
tsdf.hpp
modules/rgbd/src/tsdf.hpp
+0
-1
utils.cpp
modules/rgbd/src/utils.cpp
+1
-0
utils.hpp
modules/rgbd/src/utils.hpp
+0
-2
No files found.
modules/rgbd/src/depth_to_3d.hpp
View file @
6609d3e4
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
#ifndef __OPENCV_RGBD_DEPTH_TO_3D_HPP__
#ifndef __OPENCV_RGBD_DEPTH_TO_3D_HPP__
#define __OPENCV_RGBD_DEPTH_TO_3D_HPP__
#define __OPENCV_RGBD_DEPTH_TO_3D_HPP__
#include "precomp.hpp"
namespace
cv
namespace
cv
{
{
namespace
rgbd
namespace
rgbd
...
...
modules/rgbd/src/fast_icp.cpp
View file @
6609d3e4
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
#include "precomp.hpp"
#include "precomp.hpp"
#include "fast_icp.hpp"
#include "fast_icp.hpp"
#include "opencl_kernels_rgbd.hpp"
using
namespace
std
;
using
namespace
std
;
...
...
modules/rgbd/src/kinfu.cpp
View file @
6609d3e4
...
@@ -321,7 +321,7 @@ void KinFuImpl<T>::getNormals(InputArray points, OutputArray normals) const
...
@@ -321,7 +321,7 @@ void KinFuImpl<T>::getNormals(InputArray points, OutputArray normals) const
Ptr
<
KinFu
>
KinFu
::
create
(
const
Ptr
<
Params
>&
params
)
Ptr
<
KinFu
>
KinFu
::
create
(
const
Ptr
<
Params
>&
params
)
{
{
#ifdef HAVE_OPENCL
#ifdef HAVE_OPENCL
if
(
cv
::
ocl
::
isOpenCLActivated
())
if
(
cv
::
ocl
::
useOpenCL
())
return
makePtr
<
KinFuImpl
<
UMat
>
>
(
*
params
);
return
makePtr
<
KinFuImpl
<
UMat
>
>
(
*
params
);
#endif
#endif
return
makePtr
<
KinFuImpl
<
Mat
>
>
(
*
params
);
return
makePtr
<
KinFuImpl
<
Mat
>
>
(
*
params
);
...
...
modules/rgbd/src/kinfu_frame.cpp
View file @
6609d3e4
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
#include "precomp.hpp"
#include "precomp.hpp"
#include "kinfu_frame.hpp"
#include "kinfu_frame.hpp"
#include "opencl_kernels_rgbd.hpp"
namespace
cv
{
namespace
cv
{
namespace
kinfu
{
namespace
kinfu
{
...
...
modules/rgbd/src/kinfu_frame.hpp
View file @
6609d3e4
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
#ifndef __OPENCV_KINFU_FRAME_H__
#ifndef __OPENCV_KINFU_FRAME_H__
#define __OPENCV_KINFU_FRAME_H__
#define __OPENCV_KINFU_FRAME_H__
#include "precomp.hpp"
#include "utils.hpp"
#include "utils.hpp"
namespace
cv
{
namespace
cv
{
...
...
modules/rgbd/src/precomp.hpp
View file @
6609d3e4
...
@@ -10,17 +10,17 @@
...
@@ -10,17 +10,17 @@
#ifndef __OPENCV_PRECOMP_H__
#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#include <iostream>
#include <list>
#include <set>
#include <limits>
#include "opencv2/core/utility.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/hal/intrin.hpp"
#include "opencv2/core/hal/intrin.hpp"
#include "opencv2/core/ocl.hpp"
#include "opencv2/core/ocl.hpp"
#include "opencl_kernels_rgbd.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/calib3d.hpp"
#include "opencv2/calib3d.hpp"
#include "opencv2/rgbd.hpp"
#include "opencv2/rgbd.hpp"
#include <iostream>
#include <list>
#include <set>
#include <limits>
#endif
#endif
modules/rgbd/src/tsdf.cpp
View file @
6609d3e4
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
#include "precomp.hpp"
#include "precomp.hpp"
#include "tsdf.hpp"
#include "tsdf.hpp"
#include "opencl_kernels_rgbd.hpp"
namespace
cv
{
namespace
cv
{
...
@@ -1473,7 +1474,7 @@ cv::Ptr<TSDFVolume> makeTSDFVolume(Point3i _res, float _voxelSize, cv::Affine3f
...
@@ -1473,7 +1474,7 @@ cv::Ptr<TSDFVolume> makeTSDFVolume(Point3i _res, float _voxelSize, cv::Affine3f
float
_raycastStepFactor
)
float
_raycastStepFactor
)
{
{
#ifdef HAVE_OPENCL
#ifdef HAVE_OPENCL
if
(
cv
::
ocl
::
isOpenCLActivated
())
if
(
cv
::
ocl
::
useOpenCL
())
return
cv
::
makePtr
<
TSDFVolumeGPU
>
(
_res
,
_voxelSize
,
_pose
,
_truncDist
,
_maxWeight
,
_raycastStepFactor
);
return
cv
::
makePtr
<
TSDFVolumeGPU
>
(
_res
,
_voxelSize
,
_pose
,
_truncDist
,
_maxWeight
,
_raycastStepFactor
);
#endif
#endif
return
cv
::
makePtr
<
TSDFVolumeCPU
>
(
_res
,
_voxelSize
,
_pose
,
_truncDist
,
_maxWeight
,
_raycastStepFactor
);
return
cv
::
makePtr
<
TSDFVolumeCPU
>
(
_res
,
_voxelSize
,
_pose
,
_truncDist
,
_maxWeight
,
_raycastStepFactor
);
...
...
modules/rgbd/src/tsdf.hpp
View file @
6609d3e4
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
#ifndef __OPENCV_KINFU_TSDF_H__
#ifndef __OPENCV_KINFU_TSDF_H__
#define __OPENCV_KINFU_TSDF_H__
#define __OPENCV_KINFU_TSDF_H__
#include "precomp.hpp"
#include "kinfu_frame.hpp"
#include "kinfu_frame.hpp"
namespace
cv
{
namespace
cv
{
...
...
modules/rgbd/src/utils.cpp
View file @
6609d3e4
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
// This code is also subject to the license terms in the LICENSE_WillowGarage.md file found in this module's directory
// This code is also subject to the license terms in the LICENSE_WillowGarage.md file found in this module's directory
#include "precomp.hpp"
#include "utils.hpp"
#include "utils.hpp"
namespace
cv
namespace
cv
...
...
modules/rgbd/src/utils.hpp
View file @
6609d3e4
...
@@ -9,8 +9,6 @@
...
@@ -9,8 +9,6 @@
#ifndef __OPENCV_RGBD_UTILS_HPP__
#ifndef __OPENCV_RGBD_UTILS_HPP__
#define __OPENCV_RGBD_UTILS_HPP__
#define __OPENCV_RGBD_UTILS_HPP__
#include "precomp.hpp"
namespace
cv
namespace
cv
{
{
namespace
rgbd
namespace
rgbd
...
...
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