30 #include "../../processing/filters/filtermorpho.h"
36 class PMSPP_LIB_DECL TraceDetectionZivy :
public TraceDetectionInterface
39 FilterMorphoMean m_smooth;
40 FilterMorphoMinMax m_minMax;
41 FilterMorphoMaxMin m_maxMin;
46 TraceDetectionZivy(
unsigned int smoothing_half_window_length,
47 unsigned int minmax_half_window_length,
48 unsigned int maxmin_half_window_length,
51 virtual ~TraceDetectionZivy();
54 void setFilterMorphoMean(
const FilterMorphoMean &smooth);
55 void setFilterMorphoMinMax(
const FilterMorphoMinMax &m_minMax);
56 void setFilterMorphoMaxMin(
const FilterMorphoMaxMin &maxMin);
57 void setDetectionThresholdOnMinmax(
double detectionThresholdOnMinMax);
58 void setDetectionThresholdOnMaxmin(
double detectionThresholdOnMaxMin);
60 unsigned int getSmoothingHalfEdgeWindows()
const;
61 unsigned int getMaxMinHalfEdgeWindows()
const;
63 unsigned int getMinMaxHalfEdgeWindows()
const;
67 void detect(
const Trace &xic,