#include <pose_recognition.h>
|
void | adjustRotation (int result_index) |
| Adjusts the rotation of the found object instance depending on its rotation-type. More...
|
|
bool | findModelInCloud (int result_index) |
| Recognizes the object in the reduced 3D-scene. More...
|
|
void | findTexture () |
| Recognizes the object in the 2D-scene. More...
|
|
bool | reducePointCloud (int result_index) |
| Prepares the 3D-recognition by reducing the point cloud depending on the 2D-recognition result. More...
|
|
This class is used for the recognition of an object
Definition at line 40 of file pose_recognition.h.
descriptor_surface_based_recognition::PoseRecognition::PoseRecognition |
( |
HalconCpp::HImage & |
scene_image, |
|
|
HalconCpp::HImage & |
scene_image_mono, |
|
|
pcl::PointCloud< pcl::PointXYZ >::Ptr & |
point_cloud_with_guppy, |
|
|
ObjectDescriptor * |
obj_desc, |
|
|
int |
median_points_offset, |
|
|
double |
samplingDistance, |
|
|
double |
keypointFraction, |
|
|
bool |
eval, |
|
|
int |
max_instances = 1 |
|
) |
| |
The constructor of this class.
- Parameters
-
scene_image | – |
scene_image_mono | | |
point_cloud_with_guppy | | |
obj_desc | |– see above |
median_points_offset | | |
samplingDistance | | |
keypointFraction | | |
max_instances | – |
Definition at line 38 of file pose_recognition.cpp.
descriptor_surface_based_recognition::PoseRecognition::~PoseRecognition |
( |
| ) |
|
|
virtual |
void descriptor_surface_based_recognition::PoseRecognition::adjustRotation |
( |
int |
result_index | ) |
|
|
private |
Adjusts the rotation of the found object instance depending on its rotation-type.
- Parameters
-
result_index | The index of the found instance in the list above |
Definition at line 246 of file pose_recognition.cpp.
bool descriptor_surface_based_recognition::PoseRecognition::findModelInCloud |
( |
int |
result_index | ) |
|
|
private |
Recognizes the object in the reduced 3D-scene.
- Parameters
-
result_index | The index of the found instance in the list above |
Definition at line 200 of file pose_recognition.cpp.
void descriptor_surface_based_recognition::PoseRecognition::findPoses |
( |
| ) |
|
void descriptor_surface_based_recognition::PoseRecognition::findTexture |
( |
| ) |
|
|
private |
HalconCpp::HRegion descriptor_surface_based_recognition::PoseRecognition::getInputImageDomain |
( |
| ) |
const |
ObjectDescriptor * descriptor_surface_based_recognition::PoseRecognition::getObjectDescriptor |
( |
| ) |
const |
std::vector< RecognitionResult * > descriptor_surface_based_recognition::PoseRecognition::getResults |
( |
| ) |
const |
bool descriptor_surface_based_recognition::PoseRecognition::reducePointCloud |
( |
int |
result_index | ) |
|
|
private |
Prepares the 3D-recognition by reducing the point cloud depending on the 2D-recognition result.
- Parameters
-
result_index | The index of the found instance in the list above |
Definition at line 136 of file pose_recognition.cpp.
bool descriptor_surface_based_recognition::PoseRecognition::eval_ |
|
private |
Indicates whether evaluation information are put out
Definition at line 72 of file pose_recognition.h.
double descriptor_surface_based_recognition::PoseRecognition::keypoint_fraction_ |
|
private |
Fraction of sampled scene points used as key points in the 3D-recognition
Definition at line 66 of file pose_recognition.h.
int descriptor_surface_based_recognition::PoseRecognition::max_instances_ |
|
private |
The maximum number of instances which can be found
Definition at line 57 of file pose_recognition.h.
int descriptor_surface_based_recognition::PoseRecognition::median_points_offset_ |
|
private |
The pixel distance used to choose points for the lookup of the 3D point which is used for the reduction of the point cloud
Definition at line 60 of file pose_recognition.h.
ObjectDescriptor* descriptor_surface_based_recognition::PoseRecognition::obj_desc_ |
|
private |
The descriptor of the object this class can recognize
Definition at line 54 of file pose_recognition.h.
pcl::PointCloud<pcl::PointXYZ>::Ptr descriptor_surface_based_recognition::PoseRecognition::point_cloud_with_guppy_ |
|
private |
The point cloud of the scene used for the 3D-recognition
Definition at line 51 of file pose_recognition.h.
std::vector<RecognitionResult*> descriptor_surface_based_recognition::PoseRecognition::results_ |
|
private |
double descriptor_surface_based_recognition::PoseRecognition::sampling_distance_ |
|
private |
Scene sampling distance used for preparation of the scene the object will be recognized with (3D-recognition)
Definition at line 63 of file pose_recognition.h.
HalconCpp::HImage descriptor_surface_based_recognition::PoseRecognition::scene_image_ |
|
private |
The colored image of the scene used for the 2D-recognition
Definition at line 45 of file pose_recognition.h.
HalconCpp::HImage descriptor_surface_based_recognition::PoseRecognition::scene_image_mono_ |
|
private |
The greyscale image of the scene used for the 2D-recognition
Definition at line 48 of file pose_recognition.h.
The documentation for this class was generated from the following files: