#include <edges.h>
Static Public Member Functions | |
static std::vector < std::vector< cv::Point > > | edgeLink (cv::Mat &edge_img_raw, unsigned int min_length=1, bool use_displays=false) |
Protected Types | |
enum | PtStatus { NO_POINT, THERE_IS_A_POINT, LAST_POINT } |
Static Protected Member Functions | |
static void | findEndsJunctions (cv::Mat &edge_img, cv::Mat &ends, cv::Mat &junctions) |
static int | getCrossings (cv::Mat &edge_img, const int r, const int c) |
static bool | isJunction (cv::Mat &junctions, cv::Point p) |
static bool | isJunction (cv::Mat &junctions, int r, int c) |
static int | neighborSum (cv::Mat &edge_img, int r_seed, int c_seed, int edge_no) |
static PtStatus | nextPoint (cv::Mat &edge_img, int &r_start, int &c_start, int edge_no, cv::Mat &junctions) |
static void | removeIsolatedPixels (cv::Mat &img) |
static cv::Mat | thinEdges (cv::Mat img) |
static std::vector< cv::Point > | trackEdge (cv::Mat &edge_img, int r_start, int c_start, int edge_no, cv::Mat &junctions) |
enum cpl_visual_features::LinkEdges::PtStatus [protected] |
static std::vector<std::vector<cv::Point> > cpl_visual_features::LinkEdges::edgeLink | ( | cv::Mat & | edge_img_raw, |
unsigned int | min_length = 1 , |
||
bool | use_displays = false |
||
) | [inline, static] |
static void cpl_visual_features::LinkEdges::findEndsJunctions | ( | cv::Mat & | edge_img, |
cv::Mat & | ends, | ||
cv::Mat & | junctions | ||
) | [inline, static, protected] |
static int cpl_visual_features::LinkEdges::getCrossings | ( | cv::Mat & | edge_img, |
const int | r, | ||
const int | c | ||
) | [inline, static, protected] |
static bool cpl_visual_features::LinkEdges::isJunction | ( | cv::Mat & | junctions, |
cv::Point | p | ||
) | [inline, static, protected] |
static bool cpl_visual_features::LinkEdges::isJunction | ( | cv::Mat & | junctions, |
int | r, | ||
int | c | ||
) | [inline, static, protected] |
static int cpl_visual_features::LinkEdges::neighborSum | ( | cv::Mat & | edge_img, |
int | r_seed, | ||
int | c_seed, | ||
int | edge_no | ||
) | [inline, static, protected] |
static PtStatus cpl_visual_features::LinkEdges::nextPoint | ( | cv::Mat & | edge_img, |
int & | r_start, | ||
int & | c_start, | ||
int | edge_no, | ||
cv::Mat & | junctions | ||
) | [inline, static, protected] |
static void cpl_visual_features::LinkEdges::removeIsolatedPixels | ( | cv::Mat & | img | ) | [inline, static, protected] |
static cv::Mat cpl_visual_features::LinkEdges::thinEdges | ( | cv::Mat | img | ) | [inline, static, protected] |
static std::vector<cv::Point> cpl_visual_features::LinkEdges::trackEdge | ( | cv::Mat & | edge_img, |
int | r_start, | ||
int | c_start, | ||
int | edge_no, | ||
cv::Mat & | junctions | ||
) | [inline, static, protected] |