#include <SUSANEdgeDetectionLite.h>
Public Types | |
enum | ColorSpectra { componentA = 0, componentB, componentC } |
enum | { GEOMETRIC_THRESHOLD = 255*8*3/4 } |
Public Member Functions | |
SUSANEdgeDetectionLite (int edgeThreshold) | |
Constructor. | |
~SUSANEdgeDetectionLite () | |
Destructor. | |
bool | isEdgePoint (const Image &image, int X, int Y, ColorSpectra channel) const |
Checks if a given point is an edge point. | |
Private Member Functions | |
void | setupSusanLUT (int threshold) |
Initializes the LookUpTable. | |
unsigned char | correlation (int delta) const |
The correlation function, precomputed. | |
Private Attributes | |
unsigned char | Susan_LUT [255] |
A LookUpTable containing a correlation function. |
Unlike traditional edge detectors gradient based like Sobel or LoG, this filter doesnt perform a derivative operation on the image, (which is an hi-pass characteristic) thus has a better noise-rejection performance. This implementation is dubbed "Lite" as the heaviest passes of the full algorithm (edge direction calculation, non-maxima suppression, binary thinning) have been stripped out for performance reasons.
Definition at line 26 of file SUSANEdgeDetectionLite.h.
|
Definition at line 31 of file SUSANEdgeDetectionLite.h. |
|
Definition at line 32 of file SUSANEdgeDetectionLite.h. |
|
Constructor.
Definition at line 11 of file SUSANEdgeDetectionLite.cpp. References setupSusanLUT(). |
Here is the call graph for this function:
|
Destructor.
Definition at line 16 of file SUSANEdgeDetectionLite.cpp. |
|
Checks if a given point is an edge point.
Definition at line 30 of file SUSANEdgeDetectionLite.cpp. References correlation(), GEOMETRIC_THRESHOLD, and Image::image. Referenced by GT2004BeaconDetector::scanForBeaconPart(), and REdgeDetection::susanVote(). |
Here is the call graph for this function:
|
Initializes the LookUpTable.
Definition at line 19 of file SUSANEdgeDetectionLite.cpp. Referenced by SUSANEdgeDetectionLite(). |
|
The correlation function, precomputed.
Definition at line 65 of file SUSANEdgeDetectionLite.h. Referenced by isEdgePoint(). |
|
A LookUpTable containing a correlation function.
Definition at line 55 of file SUSANEdgeDetectionLite.h. |