#include <EdgeDetector.h>
Inheritance diagram for prapi::texture::EdgeThinner:

A non-maximum suppression algorithm is used that looks for edge pixels. Once it finds one, it tries to find a stronger one in the direction of the edge gradient at the pixel. If a larger gradient magnitude value is found within the given radius, the edge pixel is set to zero.
Public Methods | |
| EdgeThinner (unsigned int radius) | |
| Create a new EdgeThinner that uses the given radius for non-maximum suppression. | |
| util::Matrix< double > | getTransformedImage (const util::Matrix< graphics::Point< double > > &gradients) throw (ImageTransformException&) |
Static Public Methods | |
| util::Matrix< double > | suppressNonMaxima (const util::Matrix< graphics::Point< double > > &gradients, unsigned int radius) |
| Suppress non-maximum gradien values. | |
|
||||||||||||
|
Suppress non-maximum gradien values. Gradient angles must be in the range [0,2*M_PI). Otherwise the behavior is undefined.
|