MRPT  1.9.9
CObjectDetection.cpp
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 
10 #include "detectors-precomp.h" // Precompiled headers
11 
16 
17 // Universal include for all versions of OpenCV
18 #include <mrpt/otherlibs/do_opencv_includes.h>
19 
20 using namespace mrpt::detectors;
21 
24 {
27  o.image = img->makeShallowCopy();
28  this->detectObjects_Impl(o, detected);
29 }
CImage makeShallowCopy() const
Returns a shallow copy of the original image.
Definition: img/CImage.h:481
Declares a class derived from "CObservation" that encapsules an image from a camera, whose relative pose to robot is also stored.
mrpt::system::TTimeStamp now()
A shortcut for system::getCurrentTime.
Definition: datetime.h:86
std::vector< CDetectableObject::Ptr > vector_detectable_object
mrpt::img::CImage image
The image captured by the camera, that is, the main piece of information of this observation.
GLint GLvoid * img
Definition: glext.h:3769
mrpt::system::TTimeStamp timestamp
The associated UTC time-stamp.
Definition: CObservation.h:60
virtual void detectObjects_Impl(const mrpt::obs::CObservation &obs, vector_detectable_object &detected)=0
void detectObjects(const mrpt::obs::CObservation::Ptr obs, vector_detectable_object &detected)
A class for storing images as grayscale or RGB bitmaps.
Definition: img/CImage.h:147



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019