HistogramColorTransfer<T>
Models & Types · AiDotNet.Augmentation.Image
Transfers color distribution from a reference image using histogram matching.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → HistogramColorTransfer<T>
Constructors
| Constructor | Summary |
|---|---|
HistogramColorTransfer(double blendFactor, double probability) |
Properties
| Property | Summary |
|---|---|
double BlendFactor { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |
|
ImageTensor<T> ApplyTransfer(ImageTensor<T> source, ImageTensor<T> reference, AugmentationContext<T> context) |
Transfers color histogram from reference to source. |