#include <EdgeDetector.h>
Static Public Methods | |
| util::Matrix< double > | getAngle (const util::Matrix< prapi::graphics::Point< double > > &mat) |
| Given a matrix containing gradient magnitudes in x and y directions, return the gradient angle for each pixel. | |
| util::Matrix< double > | getMagnitude (const util::Matrix< prapi::graphics::Point< double > > &mat) |
| Given a matrix containing gradient magnitudes in x and y directions, return the gradient magnitude for each pixel. | |
| util::Matrix< double > | getGradient (const util::Matrix< prapi::graphics::Point< double > > &mat, Gradient gradient) |
| Get either of the gradient coordinate layers from a two-layer gradient image. | |
| void | setGradient (util::Matrix< prapi::graphics::Point< double > > &matGradient, const util::Matrix< double > &mat, Gradient gradient) throw (EdgeDetectorException&) |
| Set a gradient coordinate layer to a value. | |
|
|
Given a matrix containing gradient magnitudes in x and y directions, return the gradient angle for each pixel. Angles are represented as positive floating point numbers in the range [0,2*M_PI).
|
|
||||||||||||
|
Get either of the gradient coordinate layers from a two-layer gradient image.
|
|
|
Given a matrix containing gradient magnitudes in x and y directions, return the gradient magnitude for each pixel. The magnitude of a gradient is equal to the length of the gradient vector.
|
|
||||||||||||||||
|
Set a gradient coordinate layer to a value. With this method it is possible to alter gradient coordinates separately.
|