how to use the output of Sub-Pixel Edge Detection Algorithm

asked 2018-04-18 01:58:31 -0500

OBS gravatar image

updated 2020-10-10 22:18:42 -0500

Hi, I am using Sub-Pixel Edge Detection algorithm Implementing according to Carsten Steger's method. The Algorithm is taken from Github :https://github.com/songyuncen/EdgesSubPix

The output is a struct as following

struct Contour
{
    std::vector<cv::Point2f> points;  // edge location
    std::vector<float> direction;     // direction of the gradient in edge point, 
                                      // starting from y axis, counter-clockwise
    std::vector<float> response;      // amptitude of the gradient in edge point
};

How do i use the data of direction and response parameters for drawing and what is the meaning of these parameters?

Thanks

edit retag flag offensive close merge delete

Comments

you'll have to read the paper

just curious: what are you trying to use this for ?

berak gravatar imageberak ( 2018-04-18 02:34:17 -0500 )edit

This algorithm is used for edge detection of translucent surfaces. Images are taken in gray scale.

OBS gravatar imageOBS ( 2018-04-18 02:54:23 -0500 )edit