Class DeltaPixelBlender<TPixel>
Blends pixels based on their differences. Pixels that are equal return gray. Pixels where the source is less than backdrop return black. Pixels where the source is greater than the backdrop return white.
Inherited Members
SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend<TPixelSrc>(SixLabors.ImageSharp.Configuration, System.Span<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<TPixelSrc>, System.Single)
SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend(SixLabors.ImageSharp.Configuration, System.Span<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<System.Single>)
SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend<TPixelSrc>(SixLabors.ImageSharp.Configuration, System.Span<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<TPixelSrc>, System.ReadOnlySpan<System.Single>)
Namespace: Acoustics.Shared.ImageSharp
Assembly: Acoustics.Shared.dll
Syntax
public class DeltaPixelBlender<TPixel> : PixelBlender<TPixel> where TPixel : struct, IPixel<TPixel>
Type Parameters
| Name | Description |
|---|---|
| TPixel | The type of pixel to operate on. |
Methods
| Improve this Doc View SourceBlend(TPixel, TPixel, Single)
Declaration
public override TPixel Blend(TPixel background, TPixel source, float amount)
Parameters
| Type | Name | Description |
|---|---|---|
| TPixel | background | |
| TPixel | source | |
| Single | amount |
Returns
| Type | Description |
|---|---|
| TPixel |
Overrides
SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend(TPixel, TPixel, System.Single)
|
Improve this Doc
View Source
BlendFunction(Span<Vector4>, ReadOnlySpan<Vector4>, ReadOnlySpan<Vector4>, ReadOnlySpan<Single>)
Declaration
protected override void BlendFunction(Span<Vector4> destination, ReadOnlySpan<Vector4> background, ReadOnlySpan<Vector4> source, ReadOnlySpan<float> amount)
Parameters
| Type | Name | Description |
|---|---|---|
| Span<Vector4> | destination | |
| Read |
background | |
| Read |
source | |
| Read |
amount |
Overrides
SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.BlendFunction(System.Span<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.ReadOnlySpan<System.Single>)
|
Improve this Doc
View Source
BlendFunction(Span<Vector4>, ReadOnlySpan<Vector4>, ReadOnlySpan<Vector4>, Single)
Declaration
protected override void BlendFunction(Span<Vector4> destination, ReadOnlySpan<Vector4> background, ReadOnlySpan<Vector4> source, float amount)
Parameters
| Type | Name | Description |
|---|---|---|
| Span<Vector4> | destination | |
| Read |
background | |
| Read |
source | |
| Single | amount |
Overrides
SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.BlendFunction(System.Span<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.Single)