Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00027 #ifndef __FeatureSEGMENT_H__
00028 #define __FeatureSEGMENT_H__
00029
00030 #ifdef HAVE_MODULE_DSEG
00031
00032 #include "rtslam/featureAbstract.hpp"
00033 #include "rtslam/appearanceImage.hpp"
00034 #include "rtslam/appearanceSegment.hpp"
00035 #include "boost/shared_ptr.hpp"
00036
00037
00038
00039
00040
00041
00042 namespace jafar {
00043 namespace rtslam {
00044
00045
00046
00047
00048 class FeatureSegment;
00049 typedef boost::shared_ptr<FeatureSegment> feat_seg_ptr_t;
00050
00051 class FeatureSegment: public FeatureAbstract {
00052 public:
00053 FeatureSegment() : FeatureAbstract(4, appearance_ptr_t()) {
00054 }
00055 virtual ~FeatureSegment() {
00056 }
00057 void setup(double u1, double v1, double u2, double v2, double quality);
00058 };
00059
00060
00061 class FeatureImageSegment;
00062 typedef boost::shared_ptr<FeatureImageSegment> feat_img_seg_ptr_t;
00063
00064 class FeatureImageSegment: public FeatureAbstract {
00065 public:
00066 FeatureImageSegment() : FeatureAbstract(4, appearance_ptr_t()) {
00067 }
00068 FeatureImageSegment(int width, int height, int depth) : FeatureAbstract(4, appearance_ptr_t(new AppearanceImageSegment(width,height,depth))) {
00069 }
00070 virtual ~FeatureImageSegment() {
00071 }
00072 void setup(double u1, double v1, double u2, double v2, double quality);
00073 };
00074 }
00075
00076 }
00077
00078 #endif
00079
00080 #endif // #ifndef __FeatureSEGMENT_H__
00081
00082
00083
00084
00085
00086
00087
00088