Go to the documentation of this file.00001
00040 #ifndef CONNECTED_COMPONENTS_DVJRQLHV
00041 #define CONNECTED_COMPONENTS_DVJRQLHV
00042
00043 #include <opencv/cv.h>
00044 #include <vector>
00045
00046 namespace bwi_mapper {
00047
00056 class ConnectedComponents {
00057
00058 public:
00059
00067 ConnectedComponents (const cv::Mat& image, std::vector<int32_t>& component_map);
00068
00073 size_t getNumberComponents();
00074
00075 private:
00076
00080 size_t number_components_;
00081
00082 };
00083
00084 }
00085
00086 #endif