Constructor
new BackgroundAugmenter(generator)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
generator |
Object | Generator | Hasard | kernel size or explict options Properties
|
- Source:
Example
// Add a noisy background
const noiseGenerator = ia.gaussianNoise();
const augmenter = ia.background(noiseGenerator);