Classes | |
| class | SURFKeyframe |
Public Types | |
Public Member Functions | |
| virtual modalities::Modality * | clone () const |
| Clone this class and all potential childs RECURSIVELY!! (deep copy). | |
| virtual void | init () |
| Initialize class. | |
| virtual int | matchFeatLevel (const TargetPtrVector &targets, T_MEAS_FEATPtrVector &outputMeas, std::size_t partitionIdx) |
| Feature-level matching. | |
| virtual int | matchObjLevel (const TargetPtrVector &targets, T_MEAS_OBJPtrVector &outputMeas, std::size_t partitionIdx) |
| Feature-level matching. | |
| virtual int | preProcess (const opentl::core::cvdata::Image &image, const std::vector< std::vector< int > > &preProcessROIs) |
| Detect SURF keypoints in the current image. | |
| virtual int | sampleModelFeatures (const TargetPtrVector &targets) |
| Detect SURF keypoints from the texture map, and back-project them in object space NOTE: If this function is called with multiple targets, it will add a keyframe for each of them. Therefore, in this case the option "addKeyframes" MUST be set true, otherwise an exception will be raised. | |
| SurfFeatures (const SurfFeatures &c) | |
| Copy constructor. | |
| SurfFeatures (opentl::modelprojection::WarpBack *warpBack, int camIdx, opentl::modelprojection::GLRenderer *renderer) | |
| Constructor. | |
| virtual | ~SurfFeatures () |
| Destructor. | |
Reimplemented from opentl::modalities::Modality.
| opentl::modalities::SurfFeatures::SurfFeatures | ( | opentl::modelprojection::WarpBack * | warpBack, | |
| int | camIdx, | |||
| opentl::modelprojection::GLRenderer * | renderer | |||
| ) |
Constructor.
| opentl::modalities::SurfFeatures::SurfFeatures | ( | const SurfFeatures & | c | ) |
Copy constructor.
| virtual opentl::modalities::SurfFeatures::~SurfFeatures | ( | ) | [virtual] |
Destructor.
| virtual modalities::Modality* opentl::modalities::SurfFeatures::clone | ( | ) | const [inline, virtual] |
Clone this class and all potential childs RECURSIVELY!! (deep copy).
Implements opentl::modalities::Modality.
| virtual void opentl::modalities::SurfFeatures::init | ( | ) | [virtual] |
| virtual int opentl::modalities::SurfFeatures::matchFeatLevel | ( | const TargetPtrVector & | targets, | |
| T_MEAS_FEATPtrVector & | outputMeas, | |||
| std::size_t | partitionIdx | |||
| ) | [virtual] |
Feature-level matching.
| targets | Input vector of targets | |
| outputMeas | Output matched SURF features, for each target and state hypothesis | |
| partitionIdx | Input partition number (for multi-threading) |
Reimplemented from opentl::modalities::Modality.
| virtual int opentl::modalities::SurfFeatures::matchObjLevel | ( | const TargetPtrVector & | targets, | |
| T_MEAS_OBJPtrVector & | outputMeas, | |||
| std::size_t | partitionIdx | |||
| ) | [virtual] |
Feature-level matching.
| targets | Input vector of targets | |
| outputMeas | Output estimated state for each target | |
| partitionIdx | Input partition number (for multi-threading) |
Reimplemented from opentl::modalities::Modality.
| virtual int opentl::modalities::SurfFeatures::preProcess | ( | const opentl::core::cvdata::Image & | image, | |
| const std::vector< std::vector< int > > & | preProcessROIs | |||
| ) | [virtual] |
Detect SURF keypoints in the current image.
| image | Input sensor data (e.g. camera image in RGB) | |
| preProcessROIs | Regions of interest (x0,y0,width,height), per target |
Reimplemented from opentl::modalities::Modality.
| virtual int opentl::modalities::SurfFeatures::sampleModelFeatures | ( | const TargetPtrVector & | targets | ) | [virtual] |
Detect SURF keypoints from the texture map, and back-project them in object space NOTE: If this function is called with multiple targets, it will add a keyframe for each of them. Therefore, in this case the option "addKeyframes" MUST be set true, otherwise an exception will be raised.
Reimplemented from opentl::modalities::Modality.
1.5.8