classPiiTransforms::RandomSelector
#include <PiiTransforms.h>
A function object that randomly selects pixels whose gradient magnitude is higher than or equal to threshold.
Inherits PiiTransforms::ThresholdSelector
Description
See also
Constructors and destructor
|
(
|
Public member functions
|
template<class T>
bool
|
(
|
Function details
-
RandomSelector
(- double threshold
- double selectionProbability
[inline] -
template<class T>
bool operator()
(- T magnitude
[inline]Reimplemented from PiiTransforms::ThresholdSelector.
Add a note
Not a single note added yet. Be the first, add yours.