Constructor
new AddWeightedAugmenter(opts)
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object | options Properties
|
- Source:
Example
// Simple usage, overlay 10% opacity white layer over the image
ia.addWeighted({
value: [255, 255, 255],
alpha: 0.1
});