#include <canny.h>
Inheritance diagram for iptk::Canny:
This result can be accessed using the getResult member function. The original/registered image is not tampered with.
Public Member Functions | |
Canny (void) | |
Default Constructor. | |
Canny (const iptk::Image &im) | |
Image registering constructor. | |
Canny (const Canny &ip) | |
Copy constructor Though this constructor does not look like a reference copier, the image data is shared between the passed object(i.e the parameter to the copy constructor) and the new object. | |
virtual | ~Canny () |
Do nothing destructor. | |
virtual void | process (void) |
The actual processing function. | |
virtual void | setParams (double params[]) |
Sets the parameters neccesary for Canny operation. | |
tutk::List< gutk::Point > | getEdgePixels (void) |
Returns a tutk::List of edge pixels. | |
virtual iptk::Image | getResult (void) |
Returns the result of the canny operation. |
|
Default Constructor. An object created using the default constructor should set the image by using the setImage member function. |
|
Image registering constructor. The image is autmatically registered at the construction stage. |
|
Do nothing destructor. Destructor does nothing at all as the default destructor would have been sufficient. |
|
Returns a tutk::List of edge pixels. Contains pixels which have been identified as edge pixels by the canny operator. |
|
Returns the result of the canny operation. The returned image has different memory as compared to the registered image. Reimplemented from iptk::IP_Function. |
|
The actual processing function. The canny operator will act on the registered image with a call to this function. Implements iptk::IP_Function. |
|
Sets the parameters neccesary for Canny operation. The array passed to this function should hold 4 elements. The first element of the passed array should hold the mask size and the second element the standard deviation for use in performing the gaussian filtering. The third element holds the upper threshold value and the fourth element, the lower threshold value. These threshold values will be used to do linking streaking edges. Reimplemented from iptk::IP_Function. |