Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DepthRegistration Class Referenceabstract

#include <kinect2_registration.h>

Inheritance diagram for DepthRegistration:
Inheritance graph
[legend]

Public Types

enum  Method { DEFAULT = 0, CPU, OPENCL }
 

Public Member Functions

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 bool registerDepth (const cv::Mat &depth, cv::Mat &registered)=0
 
virtual ~DepthRegistration ()
 

Static Public Member Functions

static DepthRegistrationNew (Method method=DEFAULT)
 

Protected Member Functions

 DepthRegistration ()
 
virtual bool init (const int deviceId)=0
 

Protected Attributes

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 kinect2_registration.h.

Member Enumeration Documentation

Enumerator
DEFAULT 
CPU 
OPENCL 

Definition at line 29 of file kinect2_registration.h.

Constructor & Destructor Documentation

DepthRegistration::DepthRegistration ( )
protected

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 29 of file kinect2_registration.cpp.

DepthRegistration::~DepthRegistration ( )
virtual

Definition at line 33 of file kinect2_registration.cpp.

Member Function Documentation

virtual bool DepthRegistration::init ( const int  deviceId)
protectedpure virtual
bool DepthRegistration::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 
)

Definition at line 37 of file kinect2_registration.cpp.

DepthRegistration * DepthRegistration::New ( Method  method = DEFAULT)
static

Definition at line 55 of file kinect2_registration.cpp.

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

Member Data Documentation

cv::Mat DepthRegistration::cameraMatrixDepth
protected

Definition at line 37 of file kinect2_registration.h.

cv::Mat DepthRegistration::cameraMatrixRegistered
protected

Definition at line 37 of file kinect2_registration.h.

cv::Mat DepthRegistration::mapX
protected

Definition at line 37 of file kinect2_registration.h.

cv::Mat DepthRegistration::mapY
protected

Definition at line 37 of file kinect2_registration.h.

cv::Mat DepthRegistration::rotation
protected

Definition at line 37 of file kinect2_registration.h.

cv::Size DepthRegistration::sizeDepth
protected

Definition at line 38 of file kinect2_registration.h.

cv::Size DepthRegistration::sizeRegistered
protected

Definition at line 38 of file kinect2_registration.h.

cv::Mat DepthRegistration::translation
protected

Definition at line 37 of file kinect2_registration.h.

float DepthRegistration::zFar
protected

Definition at line 39 of file kinect2_registration.h.

float DepthRegistration::zNear
protected

Definition at line 39 of file kinect2_registration.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