Into

Modules

Documentation

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

(
  • double threshold
  • double selectionProbability
)

Public member functions

template<class T>
bool
(
  • T magnitude
)

Function details

  • RandomSelector

    (
    • double threshold
    • double selectionProbability
    )
    [inline]
  • template<class T>

    bool operator()

    (
    • T magnitude
    )
    [inline]
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.