#include <edgel.h>
Inheritance diagram for mimas::edgel:
Public Member Functions | |
edgel (void) | |
constructor | |
void | setPosition (double x, double y) |
void | setStrength (double s) |
void | setContrast (double s) |
void | setOrientation (angle a) |
const Vector & | getPosition () const |
angle | getOrientation () |
double | getStrength () |
double | getContrast () |
virtual void | draw (image< rgba< unsigned char > > &output, int i, int j, bool c) |
Draw the edgel at the specified position. |
Algorithms and inspiration from TINA. Canny_Tool is an operator which is used to extract edge strings from input images. Edge extraction method is based upon Canny's algorithm and includes Canny's post processing methods. Found edges are grouped into continuous strings. This class is a template class because it must operator on a template class (the input image).
Definition at line 33 of file edgel.h.
double mimas::edgel::getStrength | ( | ) | [inline] |
virtual void mimas::edgel::draw | ( | image< rgba< unsigned char > > & | output, | |
int | i, | |||
int | j, | |||
bool | c | |||
) | [inline, virtual] |
Draw the edgel at the specified position.
If 'c' is true also show the strength. This function is called from the property_image draw function and is used for the case where we have a mixture of properties in a single image
Reimplemented from mimas::prop.
Reimplemented in mimas::string_el.
Definition at line 60 of file edgel.h.
References mimas::drawLine().
Here is the call graph for this function: