Shadow<T>
Models & Types · AiDotNet.Augmentation.Image
Adds random shadow regions to the image.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → Shadow<T>
Constructors
| Constructor | Summary |
|---|---|
Shadow(int minShadows, int maxShadows, double minDarkness, double maxDarkness, double probability) |
Properties
| Property | Summary |
|---|---|
double MaxDarkness { get; } |
|
double MinDarkness { get; } |
|
int MaxShadows { get; } |
|
int MinShadows { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |