25 #ifndef __CANNYEDGE_HH_
26 #define __CANNYEDGE_HH_
28 #include "FilterBase.hh"
29 #include "Convolution.hh"
47 template <
class InputStorageType,
class OutputStorageType>
73 virtual void GetBordersValid_(
int &border_x,
int &border_y)
const;
76 int SetGaussSigma(
float sigma);
79 int SetThresholdsAbsolute(OutputStorageType lowAbs_, OutputStorageType highAbs_);
82 int SetThresholdsRelative(
unsigned int low_,
unsigned int high_);
90 int SetEdgeWidth(
unsigned int edgeWidth);
119 unsigned int thresLow_, thresHigh_;
120 OutputStorageType thresLowAbs_, thresHighAbs_;
121 bool useAbsThresholds_;
123 unsigned int edgeWidth_;
virtual CannyEdge< InputStorageType, OutputStorageType > * Clone() const
get copy of this filter
virtual parent class for API definition of all (future) filters
Convolution< OutputStorageType, OutputStorageType > ConvY_
Convolution< OutputStorageType, OutputStorageType > ConvX_
smoothing with gaussian kernel