AbstractRangeImagingSensor.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
18 #include "../include/cob_camera_sensors/StdAfx.h"
19 
20 #ifdef __LINUX__
23 #else
25 #include "cob_common/cob_vision_utils/common/include/cob_vision_utils/GlobalDefines.h"
26 #endif
27 
28 using namespace ipa_CameraSensors;
29 
31 {
32 }
33 
34 unsigned long AbstractRangeImagingSensor::SetIntrinsics(cv::Mat& intrinsicMatrix,
35  cv::Mat& undistortMapX, cv::Mat& undistortMapY)
36 {
37  m_intrinsicMatrix = intrinsicMatrix.clone();
38  m_undistortMapX = undistortMapX.clone();
39  m_undistortMapY = undistortMapY.clone();
40 
41  return RET_OK;
42 }
43 
44 unsigned long AbstractRangeImagingSensor::SetPathToImages(std::string path)
45 {
46  return ipa_Utils::RET_OK;
47 };
cv::Mat m_intrinsicMatrix
Intrinsic parameters [fx 0 cx; 0 fy cy; 0 0 1].
virtual unsigned long SetIntrinsics(cv::Mat &intrinsicMatrix, cv::Mat &undistortMapX, cv::Mat &undistortMapY)
cv::Mat m_undistortMapX
The output array of x coordinates for the undistortion map.
cv::Mat m_undistortMapY
The output array of Y coordinates for the undistortion map.
virtual unsigned long SetPathToImages(std::string path)


cob_camera_sensors
Author(s): Jan Fischer , Richard Bormann
autogenerated on Thu Mar 19 2020 03:23:05