Public Member Functions | Private Member Functions | Private Attributes | List of all members
DepthRegistrationCPU Class Reference

#include <depth_registration_cpu.h>

Inheritance diagram for DepthRegistrationCPU:
Inheritance graph
[legend]

Public Member Functions

 DepthRegistrationCPU ()
 
bool init (const int deviceId)
 
bool registerDepth (const cv::Mat &depth, cv::Mat &registered)
 
 ~DepthRegistrationCPU ()
 
- Public Member Functions inherited from DepthRegistration
bool init (const cv::Mat &cameraMatrixRegistered, const cv::Size &sizeRegistered, const cv::Mat &cameraMatrixDepth, const cv::Size &sizeDepth, const cv::Mat &distortionDepth, const cv::Mat &rotation, const cv::Mat &translation, const float zNear=0.5f, const float zFar=12.0f, const int deviceId=-1)
 
virtual ~DepthRegistration ()
 

Private Member Functions

void createLookup ()
 
uint16_t interpolate (const cv::Mat &in, const float &x, const float &y) const
 
void projectDepth (const cv::Mat &scaled, cv::Mat &registered) const
 
void remapDepth (const cv::Mat &depth, cv::Mat &scaled) const
 

Private Attributes

double cx
 
double cy
 
double fx
 
double fy
 
cv::Mat lookupX
 
cv::Mat lookupY
 
Eigen::Matrix4d proj
 

Additional Inherited Members

- Public Types inherited from DepthRegistration
enum  Method { DEFAULT = 0, CPU, OPENCL }
 
- Static Public Member Functions inherited from DepthRegistration
static DepthRegistrationNew (Method method=DEFAULT)
 
- Protected Member Functions inherited from DepthRegistration
 DepthRegistration ()
 
- Protected Attributes inherited from DepthRegistration
cv::Mat cameraMatrixDepth
 
cv::Mat cameraMatrixRegistered
 
cv::Mat mapX
 
cv::Mat mapY
 
cv::Mat rotation
 
cv::Size sizeDepth
 
cv::Size sizeRegistered
 
cv::Mat translation
 
float zFar
 
float zNear
 

Detailed Description

Definition at line 26 of file depth_registration_cpu.h.

Constructor & Destructor Documentation

DepthRegistrationCPU::DepthRegistrationCPU ( )

Copyright 2014 University of Bremen, Institute for Artificial Intelligence Author: Thiemo Wiedemeyer wiede.nosp@m.meye.nosp@m.r@cs..nosp@m.uni-.nosp@m.breme.nosp@m.n.de

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 20 of file depth_registration_cpu.cpp.

DepthRegistrationCPU::~DepthRegistrationCPU ( )

Definition at line 25 of file depth_registration_cpu.cpp.

Member Function Documentation

void DepthRegistrationCPU::createLookup ( )
private

Definition at line 182 of file depth_registration_cpu.cpp.

bool DepthRegistrationCPU::init ( const int  deviceId)
virtual

Implements DepthRegistration.

Definition at line 29 of file depth_registration_cpu.cpp.

uint16_t DepthRegistrationCPU::interpolate ( const cv::Mat &  in,
const float &  x,
const float &  y 
) const
inlineprivate

Definition at line 58 of file depth_registration_cpu.cpp.

void DepthRegistrationCPU::projectDepth ( const cv::Mat &  scaled,
cv::Mat &  registered 
) const
private

Definition at line 132 of file depth_registration_cpu.cpp.

bool DepthRegistrationCPU::registerDepth ( const cv::Mat &  depth,
cv::Mat &  registered 
)
virtual

Implements DepthRegistration.

Definition at line 174 of file depth_registration_cpu.cpp.

void DepthRegistrationCPU::remapDepth ( const cv::Mat &  depth,
cv::Mat &  scaled 
) const
private

Definition at line 116 of file depth_registration_cpu.cpp.

Member Data Documentation

double DepthRegistrationCPU::cx
private

Definition at line 31 of file depth_registration_cpu.h.

double DepthRegistrationCPU::cy
private

Definition at line 31 of file depth_registration_cpu.h.

double DepthRegistrationCPU::fx
private

Definition at line 31 of file depth_registration_cpu.h.

double DepthRegistrationCPU::fy
private

Definition at line 31 of file depth_registration_cpu.h.

cv::Mat DepthRegistrationCPU::lookupX
private

Definition at line 29 of file depth_registration_cpu.h.

cv::Mat DepthRegistrationCPU::lookupY
private

Definition at line 29 of file depth_registration_cpu.h.

Eigen::Matrix4d DepthRegistrationCPU::proj
private

Definition at line 30 of file depth_registration_cpu.h.


The documentation for this class was generated from the following files:


kinect2_registration
Author(s):
autogenerated on Wed Jan 3 2018 03:48:04