Samraksh eMote .NOW
SetDetectionParameters Method (Algorithm.RadarDetection)



The type of algorithm used to control background noise.
The threshold used to determine if there is a detection. Lower thresholds increase sensitivity but might cause false alarms.
The parameter used in the algorithm controling background noise. 1 is default. Higher suppresses noise more but hurts sensitivity.
The number of M windows used in the M out of N detection.
The number of windows used in the M out of N detection.
A value that outputs raw radar data in different formats to the serial port.
A small target filter that suppresses windows where no radar data exceeds this value. The higher the value the greater the suppression. Generally only this or classifierTargetFilter is used.
A small target filter that partially suppresses windows where no radar data exceeds this value. The higher the value the greater the suppression. Generally only this or targetSizeFilter is used.
Sets detection parameters.
Syntax
'Declaration
 
Public Function SetDetectionParameters( _
   ByVal radarNoiseCtrl As RADAR_NOISE_CONTROL, _
   ByVal thresholdSet As Double, _
   ByVal noiseRejection As Double, _
   ByVal M As UShort, _
   ByVal N As UShort, _
   ByVal debugVal As UShort, _
   ByVal targetSizeFilter As UShort, _
   ByVal classifierTargetFilter As UShort _
) As Boolean
'Usage
 
Dim instance As Algorithm.RadarDetection
Dim radarNoiseCtrl As RADAR_NOISE_CONTROL
Dim thresholdSet As Double
Dim noiseRejection As Double
Dim M As UShort
Dim N As UShort
Dim debugVal As UShort
Dim targetSizeFilter As UShort
Dim classifierTargetFilter As UShort
Dim value As Boolean
 
value = instance.SetDetectionParameters(radarNoiseCtrl, thresholdSet, noiseRejection, M, N, debugVal, targetSizeFilter, classifierTargetFilter)

Parameters

radarNoiseCtrl
The type of algorithm used to control background noise.
thresholdSet
The threshold used to determine if there is a detection. Lower thresholds increase sensitivity but might cause false alarms.
noiseRejection
The parameter used in the algorithm controling background noise. 1 is default. Higher suppresses noise more but hurts sensitivity.
M
The number of M windows used in the M out of N detection.
N
The number of windows used in the M out of N detection.
debugVal
A value that outputs raw radar data in different formats to the serial port.
targetSizeFilter
A small target filter that suppresses windows where no radar data exceeds this value. The higher the value the greater the suppression. Generally only this or classifierTargetFilter is used.
classifierTargetFilter
A small target filter that partially suppresses windows where no radar data exceeds this value. The higher the value the greater the suppression. Generally only this or targetSizeFilter is used.

Return Value

Returns true if parameters are set, false if there was a problem.
Requirements

Target Platforms: eMote .NOW

See Also

Reference

Algorithm.RadarDetection Class
Algorithm.RadarDetection Members

Send Feedback