Augmentation wrapper for ecvl::SaltAndPepper.
More...
#include <augmentations.h>
◆ AugSaltAndPepper() [1/2]
ecvl::AugSaltAndPepper::AugSaltAndPepper |
( |
const std::array< double, 2 > & |
p, |
|
|
const double & |
per_channel |
|
) |
| |
|
inline |
AugSaltAndPepper constructor.
- Parameters
-
[in] | p | Parameter which determines the range of values [min,max] to randomly select the probability of any pixel being set to white or black. |
[in] | per_channel | Probability of each image to use the same value for all channels of a pixel or not. |
Definition at line 1211 of file augmentations.h.
◆ AugSaltAndPepper() [2/2]
ecvl::AugSaltAndPepper::AugSaltAndPepper |
( |
std::istream & |
is | ) |
|
|
inline |
The documentation for this class was generated from the following file: