Public Member Functions | Private Member Functions | Private Attributes
descriptor_surface_based_recognition::PoseRecognition Class Reference

#include <pose_recognition.h>

List of all members.

Public Member Functions

void findPoses ()
 Recognizes the present object instances in the scene.
HalconCpp::HRegion getInputImageDomain () const
ObjectDescriptorgetObjectDescriptor () const
std::vector< RecognitionResult * > getResults () const
 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.
virtual ~PoseRecognition ()
 The destructor of this class.

Private Member Functions

void adjustRotation (int result_index)
 Adjusts the rotation of the found object instance depending on its rotation-type.
bool findModelInCloud (int result_index)
 Recognizes the object in the reduced 3D-scene.
void findTexture ()
 Recognizes the object in the 2D-scene.
bool reducePointCloud (int result_index)
 Prepares the 3D-recognition by reducing the point cloud depending on the 2D-recognition result.

Private Attributes

bool eval_
double keypoint_fraction_
int max_instances_
int median_points_offset_
ObjectDescriptorobj_desc_
pcl::PointCloud< pcl::PointXYZ >
::Ptr 
point_cloud_with_guppy_
std::vector< RecognitionResult * > results_
double sampling_distance_
HalconCpp::HImage scene_image_
HalconCpp::HImage scene_image_mono_

Detailed Description

This class is used for the recognition of an object

Definition at line 40 of file pose_recognition.h.


Constructor & Destructor Documentation

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.

The destructor of this class.

Definition at line 44 of file pose_recognition.cpp.


Member Function Documentation

Adjusts the rotation of the found object instance depending on its rotation-type.

Parameters:
result_indexThe index of the found instance in the list above

Definition at line 246 of file pose_recognition.cpp.

Recognizes the object in the reduced 3D-scene.

Parameters:
result_indexThe index of the found instance in the list above

Definition at line 200 of file pose_recognition.cpp.

Recognizes the present object instances in the scene.

Definition at line 51 of file pose_recognition.cpp.

Recognizes the object in the 2D-scene.

Definition at line 105 of file pose_recognition.cpp.

Definition at line 332 of file pose_recognition.cpp.

Definition at line 330 of file pose_recognition.cpp.

Getters for the class members

Definition at line 328 of file pose_recognition.cpp.

Prepares the 3D-recognition by reducing the point cloud depending on the 2D-recognition result.

Parameters:
result_indexThe index of the found instance in the list above

Definition at line 136 of file pose_recognition.cpp.


Member Data Documentation

Indicates whether evaluation information are put out

Definition at line 72 of file pose_recognition.h.

Fraction of sampled scene points used as key points in the 3D-recognition

Definition at line 66 of file pose_recognition.h.

The maximum number of instances which can be found

Definition at line 57 of file pose_recognition.h.

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.

The descriptor of the object this class can recognize

Definition at line 54 of file pose_recognition.h.

The point cloud of the scene used for the 3D-recognition

Definition at line 51 of file pose_recognition.h.

The found object instances

Definition at line 69 of file pose_recognition.h.

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.

The colored image of the scene used for the 2D-recognition

Definition at line 45 of file pose_recognition.h.

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:


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Thu Jun 6 2019 17:57:30